public final class Glosser_ar_en extends AbstractAnalyzer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ANALYZER_TYPE |
static java.lang.String[] |
STOP_WORDS
An array containing some common english words that are usually not
useful for searching.
|
logger| Constructor and Description |
|---|
Glosser_ar_en() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configure the glosser.
|
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger)
Transmits a super.getLog() to the class.
|
protected java.lang.String |
getAnalyzerType() |
org.apache.lucene.analysis.TokenStream |
tokenStream(java.io.Reader reader)
Deprecated.
use tokenStream(String, Reader) instead.
|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader)
Returns a token stream of glosses of arabic words whose morphological categories are found to be semantically meaningful.
|
toSAXprotected static final java.lang.String ANALYZER_TYPE
public static final java.lang.String[] STOP_WORDS
protected java.lang.String getAnalyzerType()
getAnalyzerType in class AbstractAnalyzerpublic void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfigure in class AbstractAnalyzerconfiguration - The configuration objectorg.apache.avalon.framework.configuration.ConfigurationException - If a problem occurs during configurationpublic void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledenableLogging in class AbstractAnalyzerlogger - The super.getLog()public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
tokenStream in interface AnalyzertokenStream in class org.apache.lucene.analysis.Analyzerreader - The readerpublic org.apache.lucene.analysis.TokenStream tokenStream(java.io.Reader reader)
Analyzer.tokenStream(java.io.Reader)Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.