做过自然语言处理的同学,应该都知道 Python NLTK 包。nlp_compromise相当于 Javascript 版的 NLTK。和 NLTK 一样,nlp_compromise 直接使用开发者训练好的模型,用户就可以不用自己训练模型了。
更新日志
- cleanup & rename some .value() methods
- new .lessThan(), .greaterThan(), .equalTo() methods
- change lumping behaviour of lexicon terms with multiple words
- keep more former tags after a term replace method
- new prefix/suffix/infix matches with _ffix syntax
- .match ‘range’ queries now use a real match – #Adverb{2,4}
- new .before() and .after() match methods
- new .random() method
- tag() supports a sequence of tags for a sequence of terms
- removes .lexicon() method for many-lexicons concept
- changes params of .replaceWith() method to a ‘keyTags’ boolean
- improved .debug() and logging on clientside
下载
本站原创,转载时保留以下信息:
本文转自:深度开源(open-open.com)
原文地址:http://www.open-open.com/news/view/78a5427
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/11987.html