gpt4 book ai didi

nlp - 词形还原与词干提取有什么区别?

转载 作者:IT老高 更新时间:2023-10-28 21:07:03 30 4
gpt4 key购买 nike

我什么时候使用每个?

另外...NLTK 词形还原是否依赖于词性?如果是这样不是更准确吗?

最佳答案

短而密:http://nlp.stanford.edu/IR-book/html/htmledition/stemming-and-lemmatization-1.html

The goal of both stemming and lemmatization is to reduce inflectional forms and sometimes derivationally related forms of a word to a common base form.

However, the two words differ in their flavor. Stemming usually refers to a crude heuristic process that chops off the ends of words in the hope of achieving this goal correctly most of the time, and often includes the removal of derivational affixes. Lemmatization usually refers to doing things properly with the use of a vocabulary and morphological analysis of words, normally aiming to remove inflectional endings only and to return the base or dictionary form of a word, which is known as the lemma .

来自 NLTK 文档:

Lemmatization and stemming are special cases of normalization. They identify a canonical representative for a set of related word forms.

关于nlp - 词形还原与词干提取有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1787110/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com