time-to-botec/js/node_modules/@stdlib/nlp/porter-stemmer/docs/repl.txt

29 lines
415 B
Plaintext
Raw Normal View History

{{alias}}( word )
Extracts the stem of a given word.
Parameters
----------
word: string
Input word.
Returns
-------
out: string
Word stem.
Examples
--------
> var out = {{alias}}( 'walking' )
'walk'
> out = {{alias}}( 'walked' )
'walk'
> out = {{alias}}( 'walks' )
'walk'
> out = {{alias}}( '' )
''
See Also
--------