hipdf.core.column.string.StringMethods.porter_stemmer_measure

hipdf.core.column.string.StringMethods.porter_stemmer_measure#

20 min read time

Applies to Linux

StringMethods.porter_stemmer_measure() SeriesOrIndex#

Compute the Porter Stemmer measure for each string. The Porter Stemmer algorithm is described here.

Returns#

Series or Index of object.

Examples#

>>> import cudf
>>> ser = cudf.Series(["hello", "super"])
>>> ser.str.porter_stemmer_measure()
0    1
1    2
dtype: int32