Class CodepointCountFilter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public final class CodepointCountFilter
    extends FilteringTokenFilter
    Removes words that are too long or too short from the stream.

    Note: Length is calculated as the number of Unicode codepoints.