如何知道,如果两个词具有相同的基地? [英] How to know if two words have the same base?
问题描述
我想知道,在几种语言,如果两个词是:
I want to know, in several languages, if two words are:
- 是同一个字,
- 或同一个词的语法变
例如:
-
不得不
和的
具有相同的基础:在这两种情况下,它的动词有
, -
城市
和城市
具有相同的基础。 -
前往
和消失
具有相同的基础。
had
andhas
has the same base: in both cases, it's the verbhave
,city
andcities
has the same base.went
andgone
has the same base.
有没有使用Microsoft Word中的API不只是拼写检查文本的方式,但也正常化一个字碱或,至少确定两个单词具有相同的基
Is there a way to use the Microsoft Word API to not just spell check text, but also normalize a word to a base or, at least, determine if two words have the same base?
如果不,是什么(免费或付费)库(未幅服务),它允许我做这(再次,在几种语言)?
If not, what are the (free or paid) libraries (not web services) which allow me to do it (again, in several languages)?
推荐答案
Inflector.NET是一个开放源码库您可以使用标准化的英语名词的拐点。网址为: https://github.com/davidarkemp/Inflector/tree/master/Inflector
Inflector.NET is an open source library that you can use to normalize the inflection of English nouns. Available at: https://github.com/davidarkemp/Inflector/tree/master/Inflector
这篇关于如何知道,如果两个词具有相同的基地?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!