Japanese stopwords package for npm, bower and plaintext

Japanese stopwords, available for npm, bower, plaintext. 日本のストップワード

Source

Using

1. Nodejs package via npm

npm install --save japanese-stopwords

app.js
var stopwords = require('japanese-stopwords');

console.log(stopwords);
// ["これ","それ","あれ","この","その", ...]

2. Browser via bower
bower install --save japanese-stopwords

3. Via javascript <script> tag.
<script src="//cdn.rawgit.com/duyetdev/japanese-stopwords/master/dist/japanese-stopword.min.js"></script>
<script>
    console.log(japanese_stopwords); // or window.japanese_stopwords
</script>

Test

git clone https://github.com/duyetdev/japanese-stopwords
cd japanese-stopwords/
npm install
mocha

How to contribute


  1. Fork the project on Github (https://github.com/duyetdev/japanese-stopwords/fork)
  2. Create a topic branch for your changes
  3. Ensure that you provide documentation and test coverage for your changes (patches won’t be accepted without)
  4. Create a pull request on Github (these are also a great place to start a conversation around a patch as early as possible)

License

MIT License

Related