Japanese stopwords package for npm, bower and plaintext
Japanese stopwords, available for npm, bower, plaintext. 日本のストップワード
Source
Github source: https://github.com/stopwords/japanese-stopwords
Using
- Nodejs package via npm
npm install --save japanese-stopwords
app.js
var stopwords = require('japanese-stopwords');
console.log(stopwords);
// ["これ","それ","あれ","この","その", ...]
- Browser via bower
bower install --save japanese-stopwords
- Via javascript 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/duyet/japanese-stopwords
cd japanese-stopwords/
npm install
mocha
How to contribute
- Fork the project on Github (https://github.com/duyet/japanese-stopwords/fork)
- Create a topic branch for your changes
- Ensure that you provide documentation and test coverage for your changes (patches won’t be accepted without)
- Create a pull request on Github (these are also a great place to start a conversation around a patch as early as possible)