Nlp_compromise v10.0.0 发布, 在JavaScript中使用自然语言

jopen 2年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/ec1a88dc0c96c34a67048d410b0496e4.png" /></strong></p>    <p> </p>    <p>做过自然语言处理的同学,应该都知道 Python NLTK 包。nlp_compromise相当于 Javascript 版的 NLTK。和 NLTK 一样,nlp_compromise 直接使用开发者训练好的模型,用户就可以不用自己训练模型了。</p>    <h2>更新日志</h2>    <ul>     <li>cleanup & rename some <code>.value()</code> methods</li>     <li>new <code>.lessThan()</code>, <code>.greaterThan()</code>, <code>.equalTo()</code> methods</li>     <li>change lumping behaviour of lexicon terms with multiple words</li>     <li>keep more former tags after a term replace method</li>     <li>new prefix/suffix/infix matches with <code>_ffix</code> syntax</li>     <li>.match 'range' queries now use a real match - <code>#Adverb{2,4}</code></li>     <li>new <code>.before()</code> and <code>.after()</code> match methods</li>     <li>new <code>.random()</code> method</li>     <li><code>tag()</code> supports a sequence of tags for a sequence of terms</li>     <li>removes <code>.lexicon()</code> method for many-lexicons concept</li>     <li>changes params of <code>.replaceWith()</code> method to a 'keyTags' boolean</li>     <li>improved .debug() and logging on clientside</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959006900336179404" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959006900444397579" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/78a5427">http://www.open-open.com/news/view/78a5427</a></p>