擅长:python、mysql、java
<p>我知道这并不能回答你的全部问题,但它确实回答了大部分问题。我要退房
<a href="http://nodebox.net/code/index.php/Linguistics#verb_conjugation" rel="nofollow">http://nodebox.net/code/index.php/Linguistics#verb_conjugation</a>
这个python库能够使动词共轭,并识别单词是动词、名词还是形容词。</p>
<p>示例代码</p>
<pre><code>print en.verb.present("gave")
print en.verb.present("gave", person=3, negate=False)
>>> give
>>> gives
</code></pre>
<p>它还可以对单词进行分类。</p>
<pre><code>print en.is_noun("banana")
>>> True
</code></pre>
<p>下载在链接的顶部。</p>