org.apache.lucene.analysis.de
public class WordlistLoader extends Object
Version: $Id: WordlistLoader.java,v 1.10 2004/03/30 15:54:48 otis Exp $
UNKNOWN: this is not specific to German, it should be moved up
Method Summary | |
---|---|
static HashSet | getWordSet(File wordfile)
Loads a text file and adds every line as an entry to a HashSet (omitting
leading and trailing whitespace). |
static Hashtable | getWordtable(String path, String wordfile) |
static Hashtable | getWordtable(String wordfile) |
static Hashtable | getWordtable(File wordfile) |
Parameters: wordfile File containing the wordlist
Returns: A HashSet with the file's words
Deprecated: Use {@link #getWordSet(File)} getWordSet(File)} instead
Parameters: path Path to the wordlist wordfile Name of the wordlist
Deprecated: Use {@link #getWordSet(File)} getWordSet(File)} instead
Parameters: wordfile Complete path to the wordlist
Deprecated: Use {@link #getWordSet(File)} getWordSet(File)} instead
Parameters: wordfile File object that points to the wordlist