Package org.languagetool
Class LinguServices
java.lang.Object
org.languagetool.LinguServices
Dummy class for UserConfig
has to be overridden by concrete linguistic service e.g. by LO extension
- Since:
- 4.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getNumberOfSyllables
(String word, Language lang) Returns the number of syllable of a word Returns -1 if the word was not found or anything goes wronggetSynonyms
(String word, Language lang) Get all synonyms of a word as list of strings.boolean
isCorrectSpell
(String word, Language lang) Returns true if the spell check is positive
-
Constructor Details
-
LinguServices
public LinguServices()
-
-
Method Details
-
getSynonyms
Get all synonyms of a word as list of strings. -
isCorrectSpell
Returns true if the spell check is positive -
getNumberOfSyllables
Returns the number of syllable of a word Returns -1 if the word was not found or anything goes wrong
-