|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.types.AlphabetFactory
public class AlphabetFactory
Constructor Summary | |
---|---|
AlphabetFactory()
|
Method Summary | |
---|---|
static Alphabet |
alphabetOfSize(int n)
Create a dummy alphabet with n dimensions |
static LabelAlphabet |
labelAlphabetOfSize(int n)
Create a dummy label alphabet with n dimensions |
static Alphabet |
loadFromFile(java.io.File alphabetFile)
Load an alphabet from a file, one item per line |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlphabetFactory()
Method Detail |
---|
public static Alphabet alphabetOfSize(int n)
n
dimensions
public static LabelAlphabet labelAlphabetOfSize(int n)
n
dimensions
public static Alphabet loadFromFile(java.io.File alphabetFile) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |