stemmer_porter(string)
Returns the stem of a <string> using the Porter algorithm. Supports the English language.
CREATE OR REPLACE FUNCTION `justfunctions.eu.stemmer_porter`(`string` string) RETURNS string
LANGUAGE js AS r'''return utils.porterStemmer(string);''' OPTIONS ( description = '''Returns the stem of a <string> using the Porter algorithm. Supports the English language.''' , library = [ "gs://justfunctions/bigquery-functions/stemmers.js" ] )
Example
SELECT `justfunctions.eu.stemmer_porter`("replied")
repli