|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.ocr.core.publicapi.LanguageContainer
public class LanguageContainer
This is container for recognition languages. It needs to set a set of recognition languages. Recognition of multiple languages. The text is recognized by words. Each recognized word has a specific language. There is priority of recognition languages. Language that was added earlier to the collection has a higher priority. If the word is identical in several languages, a language that was earlier added to the collection will be selected.
Constructor Summary | |
---|---|
LanguageContainer()
Initializes a new instance of the LanguageContainer class. |
Method Summary | |
---|---|
void |
addLanguage(ILanguage language)
Adds to the collection recognition language. |
ILanguage |
getLanguage(String language)
Gets the language from the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LanguageContainer()
Method Detail |
---|
public void addLanguage(ILanguage language)
language
- the language to be addedpublic ILanguage getLanguage(String language)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |