Japanese stopwords package for npm, bower and plaintext
MarkdownView HTML version
Japanese stopwords, available for npm, bower, plaintext. 日本のストップワード
[](https://blog.duyet.net/2016/02/japanese-stopwords-package.html)
## Source
Github source: [https://github.com/stopwords/japanese-stopwords](https://github.com/stopwords/japanese-stopwords)
## 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/duyet/japanese-stopwords
cd japanese-stopwords/
npm install
mocha
```
## How to contribute
1. Fork the project on Github ([https://github.com/duyet/japanese-stopwords/fork](https://github.com/duyet/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](https://github.com/duyet/japanese-stopwords/blob/master/LICENSE)