Type alias Analyzer

Analyzer: ((token: string) => string)

Type declaration

    • (token: string): string
    • The analyzer is a function for applying preprocessing steps, such as stemming or lowercasing, to a single token.

      Parameters

      • token: string

      Returns string