|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.zekr.engine.search.lucene.LuceneAnalyzerFactory
public class LuceneAnalyzerFactory
Constructor Summary | |
---|---|
LuceneAnalyzerFactory()
|
Method Summary | |
---|---|
static org.apache.lucene.analysis.Analyzer |
getAnalyzer(IQuranText quranText)
This method decides to return based on the type of quranText parameter, whether a language-specific translation analyzer or a Quran analyzer. |
static org.apache.lucene.analysis.Analyzer |
getAnalyzer(java.lang.String langCode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneAnalyzerFactory()
Method Detail |
---|
public static org.apache.lucene.analysis.Analyzer getAnalyzer(java.lang.String langCode)
langCode
- can be either two-char language ISO code, ZekrLuceneAnalyzer.QURAN_LANG_CODE
,
or either of the available snowball analyzers such as Lovins, Porter or
Kp.
public static org.apache.lucene.analysis.Analyzer getAnalyzer(IQuranText quranText)
quranText
- the abstract Quran text
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |