|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 HashMap |
getStemDict(File wordstemfile)
Deprecated. use WordlistLoader.getStemDict(File) instead |
static HashMap |
getWordtable(File wordfile)
Deprecated. use WordlistLoader.getWordSet(File) instead |
static HashMap |
getWordtable(String wordfile)
Deprecated. use WordlistLoader.getWordSet(File) instead |
static HashMap |
getWordtable(String path,
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 HashMap getWordtable(String path, String wordfile)
WordlistLoader.getWordSet(File)
instead
path
- Path to the wordlistwordfile
- Name of the wordlistpublic static HashMap getWordtable(String wordfile)
WordlistLoader.getWordSet(File)
instead
wordfile
- Complete path to the wordlistpublic static HashMap getStemDict(File wordstemfile)
WordlistLoader.getStemDict(File)
instead
public static HashMap getWordtable(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 |