|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eml.sir.rel.FrequencyList
org.eml.sir.rel.WordFrequencyList
FrequencyList containing words of a specific part of speech and their frequency.
| Field Summary |
| Fields inherited from class org.eml.sir.rel.FrequencyList |
ORDER_ALPHABETICAL, ORDER_BY_FREQUENCY |
| Constructor Summary | |
WordFrequencyList()
Create a new instance of WordFrequencyList. |
|
WordFrequencyList(char pos,
Tagger myTagger)
Create a new instance of WordFrequencyList. |
|
| Method Summary | |
void |
createAlphabeticalFile(java.lang.String fileName)
Create a file with a table of words and their frequencies ordered alphabetically that is readable by humans. |
void |
createFrequencyFile(java.lang.String fileName)
Create a file with a table of words and their frequencies ordered by frequency that is readable by humans. |
static WordFrequencyList[] |
initListsByPlainText(java.lang.String path,
Tagger myTagger)
Create three new instances of WordFrequencyList. |
static WordFrequencyList[] |
initListsByTazCount(java.lang.String filePath,
Tagger myTagger)
Create three new instances of WordFrequencyList. |
| Methods inherited from class org.eml.sir.rel.FrequencyList |
add, addSome, getAlphabeticalList, getFrequency, getFrequencyList, getMap, getPartOfSpeech, getSumOverAll, load, save, setPartOfSpeech, size, toStrings |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WordFrequencyList()
public WordFrequencyList(char pos,
Tagger myTagger)
| Method Detail |
public static WordFrequencyList[] initListsByPlainText(java.lang.String path,
Tagger myTagger)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static WordFrequencyList[] initListsByTazCount(java.lang.String filePath,
Tagger myTagger)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void createFrequencyFile(java.lang.String fileName)
throws java.io.IOException
java.io.IOException
public void createAlphabeticalFile(java.lang.String fileName)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||