<< text_gencloud text_analytics text_stripdollar >>

text_analytics >> text_analytics > text_porterstemmer

text_porterstemmer

Apply stemming on the input text

Syntax

str = text_porterstemmer(filepath);

Parameters

filepath :

String of path to file, or Scilab string array

str :

The result of stemming

Description

A simple function using the Stemmer2 class

Examples

input_str = 'Scilab is a free and open source software for engineers & scientists';
out_str = text_porterstemmer(input_str);
disp(out_str);

See also

Authors

Bibliography

Martin Porter, The Porter Stemming Algorithm: https://tartarus.org/martin/PorterStemmer/


Report an issue
<< text_gencloud text_analytics text_stripdollar >>