public class ThesaurusFactory
extends java.lang.Object
Constructor and Description |
---|
ThesaurusFactory() |
Modifier and Type | Method and Description |
---|---|
static Thesaurus |
newThesaurus()
Get a thesaurus.
|
static Thesaurus |
newThesaurus(java.lang.String className)
Get a thesaurus of a specified class name.
|
static Thesaurus |
newThesaurus(UTF8Properties properties)
Get a thesaurus.
|
public static Thesaurus newThesaurus()
public static Thesaurus newThesaurus(UTF8Properties properties)
properties
- MorphAdorner properties.public static Thesaurus newThesaurus(java.lang.String className)
className
- Class name for the thesaurus.