Metadata-Version: 2.1
Name: naive-stopwords
Version: 0.0.2
Summary: Stopwords for Chinese.
Home-page: https://github.com/naivenlp/naive-stopwords
Author: ZhouYang Luo
Author-email: zhouyang.luo@gmail.com
License: Apache Software License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Description-Content-Type: text/markdown

# naive-stopwords

![Python package](https://github.com/naivenlp/naive-stopwords/workflows/Python%20package/badge.svg)
[![PyPI version](https://badge.fury.io/py/naive-stopwords.svg)](https://badge.fury.io/py/naive-stopwords)
[![Python](https://img.shields.io/pypi/pyversions/naive-stopwords.svg?style=plastic)](https://badge.fury.io/py/naive-stopwords)

Stop words for Chinese.


## Installation

```bash
pip install -U naive-stopwords
```

## Usage

```bash
>>> from naive_stopwords import Stopwords
>>> sw = Stopwords()
>>> sw.size()
2321
>>> sw.contains('hello')
True
>>> sw.add('的')
>>> sw.size()
2321
>>> sw.remove('的')
>>> sw.size()
2320
>>> sw.dump('file.txt')

```


