|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.apache.lucene.analysis.ja.JapaneseTokenizer
public final class JapaneseTokenizer
This is a Japanese tokenizer which uses "Sen" morphological analyzer.
sets the surface form as the term text, but also sets these attributes:
BasicFormAttribute
ConjugationAttribute
PartOfSpeechAttribute
PronunciationsAttribute
ReadingsAttribute
CostAttribute
SentenceStartAttribute
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
|---|
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State |
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.analysis.Tokenizer |
|---|
input |
| Constructor Summary | |
|---|---|
JapaneseTokenizer(Reader in)
|
|
JapaneseTokenizer(Reader in,
StreamFilter filter)
|
|
JapaneseTokenizer(Reader in,
StreamFilter filter,
String dictionaryDir)
|
|
| Method Summary | |
|---|---|
void |
end()
|
boolean |
incrementToken()
|
void |
reset(Reader in)
|
| Methods inherited from class org.apache.lucene.analysis.Tokenizer |
|---|
close, correctOffset |
| Methods inherited from class org.apache.lucene.analysis.TokenStream |
|---|
reset |
| Methods inherited from class org.apache.lucene.util.AttributeSource |
|---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JapaneseTokenizer(Reader in)
public JapaneseTokenizer(Reader in,
StreamFilter filter)
public JapaneseTokenizer(Reader in,
StreamFilter filter,
String dictionaryDir)
| Method Detail |
|---|
public boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOException
public void reset(Reader in)
throws IOException
reset in class org.apache.lucene.analysis.TokenizerIOException
public void end()
throws IOException
end in class org.apache.lucene.analysis.TokenStreamIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||