Package org.omegat.tokenizer
Class HunspellTokenizer
java.lang.Object
org.omegat.tokenizer.BaseTokenizer
org.omegat.tokenizer.HunspellTokenizer
- All Implemented Interfaces:
ITokenizer
Methods for tokenize string.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.omegat.tokenizer.ITokenizer
ITokenizer.StemmingMode -
Field Summary
Fields inherited from class org.omegat.tokenizer.BaseTokenizer
TOKENIZER_DEBUG_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Return an array of language strings (xx-yy) indicating the tokenizer's supported languages.static voidstatic voidMethods inherited from class org.omegat.tokenizer.BaseTokenizer
tokenizeVerbatim, tokenizeVerbatimToStrings, tokenizeWords, tokenizeWordsToStrings
-
Constructor Details
-
HunspellTokenizer
public HunspellTokenizer()
-
-
Method Details
-
getSupportedLanguages
Description copied from interface:ITokenizerReturn an array of language strings (xx-yy) indicating the tokenizer's supported languages. Meant for tokenizers for which the supported languages can only be determined at runtime, like theHunspellTokenizer.Indicate that this should be used by setting the
Tokenizerannotation to contain onlyTokenizer.DISCOVER_AT_RUNTIME.- Specified by:
getSupportedLanguagesin interfaceITokenizer- Overrides:
getSupportedLanguagesin classBaseTokenizer
-
loadPlugins
public static void loadPlugins() -
unloadPlugins
public static void unloadPlugins()
-