Find synonyms and roots of words in Java
•
Java
I am developing a Java application. The user enters a word in the text box, and the synonym of the word must be automatically provided to him
There is a word. Is it possible to find its synonym and its root in Java? Should I use a dictionary?
For example:
word: killer synonym: murderer butcher hitman word: killing root: kill
Solution
One option is to use WordNet with Java APIs, such as jaws: http://lyle.smu.edu/ ~tspell/jaws
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码