正向最大匹配 def forward_match(text,item_dict): """ :param text: 分词文本 :param item_dict: 指导分词 """ resList = [] # 存放结果 LongWord = max([len(word) for word in i Read More
posted @ 2023-10-30 15:37 PythonNew_Mr.Wang Views(208) Comments(0) Diggs(0)