Class DictionaryEntryWriter

java.lang.Object
org.apache.lucene.analysis.morph.DictionaryEntryWriter

public abstract class DictionaryEntryWriter extends Object
Abstract writer class to write dictionary entries.
  • Field Details

  • Constructor Details

    • DictionaryEntryWriter

      protected DictionaryEntryWriter(int size)
  • Method Details

    • putEntry

      protected abstract int putEntry(String[] entry)
      Writes an entry.
    • writePosDict

      protected abstract void writePosDict(OutputStream bos, DataOutput out) throws IOException
      Flush POS dictionary data.
      Throws:
      IOException
    • currentPosition

      public int currentPosition()
      Returns current word id.