Nlp_compromise?v10.0.0 發布,?在JavaScript中使用自然語言

jopen 7年前發布 | 22K 次閱讀 Nlp_compromise JavaScript

 

做過自然語言處理的同學,應該都知道 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.baiduhome.net/news/view/78a5427

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!