|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SynonymPlugin
The synonym plugin interface.
| Method Summary | |
|---|---|
String |
detectEncoding(Object document)
Method to detect encoding. |
String |
detectLanguage(Object document)
Method to detect the language. |
void |
init(String optConfigFile)
Method to initialise this plugin, the configuration file is optional, but most language detection tools need some sort of statistics, references and so on. |
| Method Detail |
|---|
void init(String optConfigFile)
optConfigFile - - The config fileString detectLanguage(Object document)
document - The document
String detectEncoding(Object document)
document - The document
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||