|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.analysis.nl.WordlistLoader
WordlistLoader instead
public class WordlistLoader
Loads a text file and adds every line as an entry to a Hashtable. Every line should contain only one word. If the file is not found or on any error, an empty table is returned.
| Constructor Summary | |
|---|---|
WordlistLoader()
Deprecated. |
|
| Method Summary | |
|---|---|
static java.util.HashMap |
getStemDict(java.io.File wordstemfile)
Deprecated. use WordlistLoader.getStemDict(File) instead |
static java.util.HashMap |
getWordtable(java.io.File wordfile)
Deprecated. use WordlistLoader.getWordSet(File) instead |
static java.util.HashMap |
getWordtable(java.lang.String wordfile)
Deprecated. use WordlistLoader.getWordSet(File) instead |
static java.util.HashMap |
getWordtable(java.lang.String path,
java.lang.String wordfile)
Deprecated. use WordlistLoader.getWordSet(File) instead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordlistLoader()
| Method Detail |
|---|
public static java.util.HashMap getWordtable(java.lang.String path,
java.lang.String wordfile)
WordlistLoader.getWordSet(File) instead
path - Path to the wordlistwordfile - Name of the wordlistpublic static java.util.HashMap getWordtable(java.lang.String wordfile)
WordlistLoader.getWordSet(File) instead
wordfile - Complete path to the wordlistpublic static java.util.HashMap getStemDict(java.io.File wordstemfile)
WordlistLoader.getStemDict(File) instead
public static java.util.HashMap getWordtable(java.io.File wordfile)
WordlistLoader.getWordSet(File) instead
wordfile - File containing the wordlist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||