SELECT `justfunctions.eu.stemmer_lancaster`("replied")
/*--Output--
reply
*/
CREATE OR REPLACE FUNCTION `your_project_id.your_dataset_id.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" ] )
JavaScript User Defined Function (JavaScript UDF)
See something wrong? Contact us or report an issue on Github.