NLP
nlp
LinJie98
开源 分享 快乐
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【NLP】Words Normalization+PorterStemmer源码解析
Words Normalization 目录Words NormalizationStemming(词干提取)Lemmatisation(词形还原)PorterStemmer源码解析1、def __init__(self)2、def stem(self, p, i, j)3、def ends(self, s)4、举“matting”例子参考 Stemming(词干提取) 词干提取是去除单词的前后缀得到词根的过程 caresses -> caress ponies -> poni原创 2020-11-02 20:21:50 · 1428 阅读 · 0 评论 -
【NLP】Spell Correction
spell correction 目录spell correction1、流程2、how to filter?计算此公式 1、流程 2、how to filter? 输入字符串s,我们要找出最有可能成为正确的字符串c,也就是如下公式 candidates是已知的候选集合,公式含义:找到c使得p(c|s)最大,并返回c的值(c hat) 计算此公式 ...原创 2020-10-31 16:50:31 · 896 阅读 · 0 评论
分享