stem
Description
Given an input Observable of strings or words, it will apply a stemming algorithm to each string or word. By default, it will use a Porter stemming. It can also apply Lancaster stemming.
Example: Porter stemmer
Example: Lancaster stemmer
API
Since
0.1
Parameters
None
Options
stemmer<String>
: Can be'porter'
(for Porter stemming) or'lancaster'
(uses Lancaster stemming). Defaults to Porter stemming.
Returns
String
. The stemmed version of the input strings or words.
Arguments
None
Options
None
Last updated