29 lines
415 B
Plaintext
29 lines
415 B
Plaintext
|
|
||
|
{{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
|
||
|
--------
|
||
|
|