如何知道,如果两个词具有相同的基地? [英] How to know if two words have the same base?

查看:180
本文介绍了如何知道,如果两个词具有相同的基地?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,在几种语言,如果两个词是:

I want to know, in several languages, if two words are:


  • 是同一个字,

  • 或同一个词的语法变

例如:


  • 不得不具有相同的基础:在这两种情况下,它的动词

  • 城市城市具有相同的基础。

  • 前往消失具有相同的基础。

  • had and has has the same base: in both cases, it's the verb have,
  • city and cities has the same base.
  • went and gone 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆