Skip to content

Commit dd2f09c

Browse files
committed
Add stemmer to NLP namespace
1 parent 5eca8e4 commit dd2f09c

File tree

1 file changed

+9
-0
lines changed
  • lib/node_modules/@stdlib/nlp/lib

1 file changed

+9
-0
lines changed

lib/node_modules/@stdlib/nlp/lib/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ setReadOnly( nlp, 'expandContractions', require( '@stdlib/nlp/expand-contraction
5454
*/
5555
setReadOnly( nlp, 'lda', require( '@stdlib/nlp/lda' ) );
5656

57+
/**
58+
* @name porterStemmer
59+
* @memberof nlp
60+
* @readonly
61+
* @type {Function}
62+
* @see {@link module:@stdlib/nlp/porter-stemmer}
63+
*/
64+
setReadOnly( nlp, 'porterStemmer', require( '@stdlib/nlp/porter-stemmer' ) );
65+
5766
/**
5867
* @name tokenize
5968
* @memberof nlp

0 commit comments

Comments
 (0)