|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmaxent.Dictionary
public class Dictionary
The Class Dictionary.
| Field Summary | |
|---|---|
Data |
data
The data. |
java.util.Map |
dict
The dict. |
Option |
option
The option. |
| Constructor Summary | |
|---|---|
Dictionary()
Instantiates a new dictionary. |
|
Dictionary(Option option,
Data data)
Instantiates a new dictionary. |
|
| Method Summary | |
|---|---|
void |
addDict(int cp,
int label,
int count)
Adds the dict. |
void |
generateDict()
Generate dict. |
void |
readDict(java.io.BufferedReader fin)
Read dict. |
int |
size()
Size. |
void |
writeDict(java.io.PrintWriter fout)
Write dict. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.Map dict
public Option option
public Data data
| Constructor Detail |
|---|
public Dictionary()
public Dictionary(Option option,
Data data)
option - the optiondata - the data| Method Detail |
|---|
public void readDict(java.io.BufferedReader fin)
throws java.io.IOException
fin - the fin
java.io.IOException - Signals that an I/O exception has occurred.
public void writeDict(java.io.PrintWriter fout)
throws java.io.IOException
fout - the fout
java.io.IOException - Signals that an I/O exception has occurred.
public void addDict(int cp,
int label,
int count)
cp - the cplabel - the labelcount - the countpublic void generateDict()
public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||