Package org.apache.lucene.analysis.morph
Class DictionaryEntryWriter
java.lang.Object
org.apache.lucene.analysis.morph.DictionaryEntryWriter
Abstract writer class to write dictionary entries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns current word id.protected abstract int
Writes an entry.protected abstract void
writePosDict
(OutputStream bos, DataOutput out) Flush POS dictionary data.
-
Field Details
-
buffer
-
posDict
-
-
Constructor Details
-
DictionaryEntryWriter
protected DictionaryEntryWriter(int size)
-
-
Method Details
-
putEntry
Writes an entry. -
writePosDict
Flush POS dictionary data.- Throws:
IOException
-
currentPosition
public int currentPosition()Returns current word id.
-