Definition of words using Java

I was wondering if there is an API in Java that can define words and find the origin of words. I remember some time ago looking through this and seeing "apache commons", but I'm not sure.

Thus, in principle, the user can enter the word "overflow", then the program can determine the word. So I'm looking for an API that can define words and find the origin of words. Thus, the word "recherche" will have an origin that is "French".

+7
source share
4 answers

WordNet will give you half of what you are looking for: you can find the definition of a word. Please note that there are several implementations of WordNet for Java: jwi , jaws , Dan Bikel's , WordnetAPI . Some of them may be easier to use for your purpose than jwordnet suggested by miku (I only had jaws and jwi).

Note. WordNet will not give you the roots (AFAIK). I do not know the software that makes it.

Note. You will need to provide the lemma of the word so that it can find it in the dictionary. This means that you will need to apply some natural language processing (NLP) methods if you want to do this automatically on a free text document (which may contain modified forms). If you go this route, I suggest the GATE Morph plugin project.

+8
source
+7
source

There is a site for etymology: http://www.etymonline.com/

He gives the result: selective 1722, from about. recherché "carefully tracked down" pp. rechercher "to search." Commonly used 19c. food, styles, etc., to indicate implicit superiority.

I don’t know if they got the API, but they use the script for their request.

So, find a good way to discover "oh." in the above sentence.

Cheers, Erik

+4
source

Are you looking for JWKTL ?

"Wiktionary is a multilingual, Internet-accessible dictionary, thesaurus and phraseological dictionary developed as a lexical companion for Wikipedia. Recently, it has been recognized as a promising lexical semantic resource for natural language processing applications."

Using this, you can see the etymology of words.

+2
source

All Articles