|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.index.lucene.analysis.AnalyzerFactory
public class AnalyzerFactory
A factory creating the appropriate Analyzer for natural language analysis of text for Lucene
Indexing and Query Parsing.
Note: [Lang] refers to CommonName for ISO639 Language
Dependency: Analyzer from lucene contrib: lucene-analyzers-[version].jar, lucene-snowball-[version].jar
Properties used:
for license details.
The copyright to this program is held by it's authors.
Field Summary
static String
DEFAULT_ID
private static Logger
log
private static AnalyzerFactory
myInstance
private Properties
myProperties
Constructor Summary
private
AnalyzerFactory()
Method Summary
AbstractBookAnalyzer
createAnalyzer(Book book)
String
getAnalyzerValue(String lang)
boolean
getDefaultStemmingProperty()
boolean
getDefaultStopWordProperty()
static AnalyzerFactory
getInstance()
private void
loadProperties()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
DEFAULT_ID
public static final String DEFAULT_ID
log
private static final Logger log
myInstance
private static AnalyzerFactory myInstance
myProperties
private Properties myProperties
Constructor Detail
AnalyzerFactory
private AnalyzerFactory()
Method Detail
createAnalyzer
public AbstractBookAnalyzer createAnalyzer(Book book)
getInstance
public static AnalyzerFactory getInstance()
getAnalyzerValue
public String getAnalyzerValue(String lang)
getDefaultStemmingProperty
public boolean getDefaultStemmingProperty()
getDefaultStopWordProperty
public boolean getDefaultStopWordProperty()
loadProperties
private void loadProperties()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Copyright ยจ 2003-2007
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD