Class TruncateTokenFilter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class TruncateTokenFilter
    extends TokenFilter
    A token filter for truncating the terms into a specific length. Fixed prefix truncation, as a stemming method, produces good results on Turkish language. It is reported that F5, using first 5 characters, produced best results in Information Retrieval on Turkish Texts