CLucene - a full-featured, c++ search engine
API Documentation


lucene::analysis::standard::StandardAnalyzer Class Reference

Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words. More...

#include <StandardAnalyzer.h>

Inheritance diagram for lucene::analysis::standard::StandardAnalyzer:

lucene::analysis::Analyzer

Public Member Functions

 StandardAnalyzer ()
 Builds an analyzer.
 StandardAnalyzer (const TCHAR **stopWords)
 Builds an analyzer with the given stop words.
 StandardAnalyzer (const char *stopwordsFile, const char *enc=NULL)
 Builds an analyzer with the stop words from the given file.
 StandardAnalyzer (lucene::util::Reader *stopwordsReader, const bool _bDeleteReader=false)
 Builds an analyzer with the stop words from the given reader.
 ~StandardAnalyzer ()
TokenStreamtokenStream (const TCHAR *fieldName, lucene::util::Reader *reader)
 Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.

Detailed Description

Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words.

Constructor & Destructor Documentation

lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer (  ) 

Builds an analyzer.

lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer ( const TCHAR **  stopWords  ) 

Builds an analyzer with the given stop words.

lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer ( const char *  stopwordsFile,
const char *  enc = NULL 
)

Builds an analyzer with the stop words from the given file.

See also:
WordlistLoader::getWordSet(File)

lucene::analysis::standard::StandardAnalyzer::StandardAnalyzer ( lucene::util::Reader stopwordsReader,
const bool  _bDeleteReader = false 
)

Builds an analyzer with the stop words from the given reader.

See also:
WordlistLoader::getWordSet(Reader)

lucene::analysis::standard::StandardAnalyzer::~StandardAnalyzer (  ) 


Member Function Documentation

TokenStream* lucene::analysis::standard::StandardAnalyzer::tokenStream ( const TCHAR *  fieldName,
lucene::util::Reader reader 
) [virtual]

Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.

Implements lucene::analysis::Analyzer.


The documentation for this class was generated from the following file:

clucene.sourceforge.net