Package org.omegat.core.spellchecker
Class AbstractMorfologikDictionary
java.lang.Object
org.omegat.core.spellchecker.AbstractMorfologikDictionary
- All Implemented Interfaces:
Closeable,AutoCloseable,ISpellCheckerDictionary
public abstract class AbstractMorfologikDictionary
extends Object
implements ISpellCheckerDictionary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Get a dictionary type.morfologik.stemming.DictionarygetMorfologikDictionary(String language) Get Morfologik dictionary.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.omegat.core.spellchecker.ISpellCheckerDictionary
getHunspellDictionary, installHunspellDictionary
-
Constructor Details
-
AbstractMorfologikDictionary
public AbstractMorfologikDictionary()
-
-
Method Details
-
getMorfologikDictionary
Description copied from interface:ISpellCheckerDictionaryGet Morfologik dictionary.- Specified by:
getMorfologikDictionaryin interfaceISpellCheckerDictionary- Returns:
- Dictionary object when the language module has. Otherwise, null.
-
getDictionaryType
Description copied from interface:ISpellCheckerDictionaryGet a dictionary type.- Specified by:
getDictionaryTypein interfaceISpellCheckerDictionary- Returns:
- type of dictionary. If the module provides nothing, return null.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-