| Package | Description |
|---|---|
| com.memetix.mst.detect | |
| com.memetix.mst.language | |
| com.memetix.mst.sentence | |
| com.memetix.mst.translate |
| Modifier and Type | Method and Description |
|---|---|
static Language |
Detect.execute(String text)
Detects the language of a supplied String.
|
| Modifier and Type | Method and Description |
|---|---|
static Language |
Language.fromString(String pLanguage) |
static Language |
Language.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Language[] |
Language.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Language> |
Language.values(Language locale)
values(Language locale)
Returns a map of all languages, keyed and sorted by
the localized name in the tongue of the specified locale
It returns a map, sorted alphanumerically by the keys()
Key: The localized language name
Value: The Language instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
SpokenDialect.getName(Language locale)
getName()
Returns the name for this language in the tongue of the specified locale
If the name is not cached, then it retrieves the name of ALL languages in this locale.
|
String |
Language.getName(Language locale)
getName()
Returns the name for this language in the tongue of the specified locale
If the name is not cached, then it retrieves the name of ALL languages in this locale.
|
static Map<String,Language> |
Language.values(Language locale)
values(Language locale)
Returns a map of all languages, keyed and sorted by
the localized name in the tongue of the specified locale
It returns a map, sorted alphanumerically by the keys()
Key: The localized language name
Value: The Language instance
|
| Modifier and Type | Method and Description |
|---|---|
static Integer[] |
BreakSentences.execute(String text,
Language fromLang)
Reports the number of sentences detected and the length of those sentences
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
Translate.execute(String[] texts,
Language to)
Translates an array of texts from an Automatically detected language to another given Language using Microsoft Translator's TranslateArray
service
Note that the Microsoft Translator expects all source texts to be of the SAME language.
|
static String[] |
Translate.execute(String[] texts,
Language from,
Language to)
Translates an array of texts from a given Language to another given Language using Microsoft Translator's TranslateArray
service
Note that the Microsoft Translator expects all source texts to be of the SAME language.
|
static String |
Translate.execute(String text,
Language to)
Translates text from a given Language to another given Language using Microsoft Translator.
|
static String |
Translate.execute(String text,
Language from,
Language to)
Translates text from a given Language to another given Language using Microsoft Translator.
|
Copyright © 2013. All Rights Reserved.