public interface ILanguage
This interface represents recognition language.
Instance of this can be construct only in OCR.Language
factory.
OcrEngine ocr = new OcrEngine(); ocr.getLanguages().addLanguage(Language.load("english")); ocr.getLanguages().addLanguage(Language.load("spain"));
Modifier and Type | Method and Description |
---|---|
void |
addWord(java.lang.String word)
Adds the word to the dictionary.
|
java.lang.String |
getAlphabet()
Gets the alphabet.
|
java.lang.String[] |
getCharsByClass()
Returns all chars ordered by theirs classes: ba dg sa ss
|
java.lang.String |
getClassName(char ch)
Returns name of the class input character is reffers to.
|
java.lang.String |
getLanguage()
Gets the name of language.
|
void |
save()
Saves changes.
|
void addWord(java.lang.String word)
java.lang.String getAlphabet()
java.lang.String[] getCharsByClass()
java.lang.String getClassName(char ch)
java.lang.String getLanguage()
void save()