/** * @fileoverview Implementation of the Porter Stemmer algorithm for word normalization. * Used to reduce words to their root form (e.g., "running" to "run"). */ /** * Stems a word using the [Porter * Stemmer](https://snowballstem.org/algorithms/porter/stemmer.html) * for removing inflectional endings like "ing", "ist", "ize". * * @author [Porter, M. (1980)](https://tartarus.org/martin/PorterStemmer/) * @param word - The word to be stemmed * @returns The stemmed word * @example const rootWord = stemWordToRoot("running"); // returns "run" * @category Topics */ export declare function stemWordToRoot(word: string): string;