oag-mcp
    Preparing search index...

    Function processTerm

    • Normalise a search term, at indexing and at query time alike: lower-case, drop English stop words, and reduce the word to its Porter stem, so "cats" matches "cat" and "vaccinated" matches "vaccination".

      Parameters

      • term: string

        raw term

      Returns string | null

      processed term, or null to drop it