Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.lucene.analysis.nl.WordlistLoader
public class WordlistLoader
extends Object
Method Summary | |
static HashMap |
|
static HashMap |
|
static HashMap |
|
static HashMap |
|
public static HashMap getStemDict(File wordstemfile)
Deprecated. use
WordlistLoader.getStemDict(File)
insteadReads a stemsdictionary. Each line contains: word \t stem i.e. tab seperated)
- Returns:
- Stem dictionary that overrules, the stemming algorithm
public static HashMap getWordtable(File wordfile)
Deprecated. use
WordlistLoader.getWordSet(File)
instead
- Parameters:
wordfile
- File containing the wordlist
public static HashMap getWordtable(String wordfile)
Deprecated. use
WordlistLoader.getWordSet(File)
instead
- Parameters:
wordfile
- Complete path to the wordlist
public static HashMap getWordtable(String path, String wordfile)
Deprecated. use
WordlistLoader.getWordSet(File)
instead
- Parameters:
path
- Path to the wordlistwordfile
- Name of the wordlist