An English (Porter2) stemming implementation in F#.
In linguistic morphology and information retrieval, stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form. The stem need not be identical to the morphological root of the word; it is usually sufficient that related words map to the same stem, even if this stem is not in itself a valid root. - Wikipedia
SentimentalAnalysisML.Stemmer requires .Net 4.6.1
open SentimentalAnalysisML.Stemmer
let result = Stemmer.stem "capabilities" // "capabl"
Mono | .NET | MyGet | CoreCLR |
---|---|---|---|