Stopwords for Chinese.
Project description
naive-stopwords
Stop words for Chinese.
Installation
pip install -U naive-stopwords
Usage
from naive_stopwords import Stopwords
sw = Stopwords()
print(sw.size())
print(sw.contains('hello'))
sw.add('的')
print(sw.size())
print(sw.contains('的'))
sw.remove('的')
print(sw.size())
print(sw.contains('的'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
naive-stopwords-0.0.1.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for naive_stopwords-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 167a4cda12e4dfb32f29870269170750a132a364644a0372f09301c2a5c1046c |
|
MD5 | 907594c9568de1de980c1fd09366998a |
|
BLAKE2b-256 | 029a5499ea1ba1320aacf733f185bf6b5ef5d1ed1c9eaf1736234eea522cb74d |