Class CodepointCountFilter

All Implemented Interfaces:
Closeable, AutoCloseable, Unwrappable<TokenStream>

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.