Skip to content

codekansas/porter-stemmer-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This is an implementation of the English-language Porter stemmer, as described here.

Usage

<script src="https://rawgit.com/codekansas/porter-stemmer-js/master/porter.min.js"></script>
<script>
porter.stem('this is a test sentence');  // ['thi', 'is', 'a', 'test', 'sentenc']
porter.stem(['this', 'sentence']);  // ['thi', 'sentenc']
porter.stem_word('this');  // 'thi'
</script>

About

An implementation of the English Porter Stemmer in Javascript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published