|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.nl.WordlistLoader
public class WordlistLoader
Constructor Summary | |
---|---|
WordlistLoader()
|
Method Summary | |
---|---|
static java.util.HashMap |
getStemDict(java.io.File wordstemfile)
Reads a stemsdictionary. |
static java.util.HashMap |
getWordtable(java.io.File wordfile)
|
static java.util.HashMap |
getWordtable(java.lang.String wordfile)
|
static java.util.HashMap |
getWordtable(java.lang.String path,
java.lang.String wordfile)
|
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)
path
- Path to the wordlistwordfile
- Name of the wordlistpublic static java.util.HashMap getWordtable(java.lang.String wordfile)
wordfile
- Complete path to the wordlistpublic static java.util.HashMap getStemDict(java.io.File wordstemfile)
public static java.util.HashMap getWordtable(java.io.File wordfile)
wordfile
- File containing the wordlist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |