7 #ifndef WORDLISTLOADER_H
8 #define WORDLISTLOADER_H
44 static MapStringString
getStemDict(
const String& wordstemfile);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Loader for text files that represent a list of stopwords.
Definition: WordlistLoader.h:15
static MapStringString getStemDict(const String &wordstemfile)
Reads a stem dictionary. Each line contains:
virtual ~WordlistLoader()
static HashSet< String > getWordSet(const ReaderPtr &reader, const String &comment=EmptyString)
Loads a text file and adds every line as an entry to a HashSet (omitting leading and trailing whitesp...
static HashSet< String > getWordSet(const String &wordfile, const String &comment=EmptyString)
Loads a text file and adds every line as an entry to a HashSet (omitting leading and trailing whitesp...
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547