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