Class WordDelimiterIterator

java.lang.Object
org.apache.lucene.analysis.miscellaneous.WordDelimiterIterator

public final class WordDelimiterIterator extends Object
A BreakIterator-like API for iterating over subwords in text, according to WordDelimiterFilter rules.
  • Field Details

    • DONE

      public static final int DONE
      Indicates the end of iteration
      See Also:
    • DEFAULT_WORD_DELIM_TABLE

      public static final byte[] DEFAULT_WORD_DELIM_TABLE
  • Method Details

    • getType

      public static byte getType(int ch)
      Computes the type of the given character
      Parameters:
      ch - Character whose type is to be determined
      Returns:
      Type of the character