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