public class GenProfile
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static TextObjectFactory |
textObjectFactory |
| Constructor and Description |
|---|
GenProfile() |
| Modifier and Type | Method and Description |
|---|---|
static LangProfile |
generate(java.lang.String lang,
java.io.File textFile)
Loads a text file and generate a language profile from its content.
|
private static final TextObjectFactory textObjectFactory
public static LangProfile generate(java.lang.String lang, java.io.File textFile)
lang - target language name.textFile - input text file.