Skip to main content

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


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 details)

Uploaded Source

Built Distribution

naive_stopwords-0.0.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file naive-stopwords-0.0.1.tar.gz.

File metadata

  • Download URL: naive-stopwords-0.0.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.5

File hashes

Hashes for naive-stopwords-0.0.1.tar.gz
Algorithm Hash digest
SHA256 22defe4a993363091e1e5c3141bb5eeea22ceee53f2bd3837ddbdcfe25e58d8b
MD5 dfb32b965fdfae7c7393ba429865ce73
BLAKE2b-256 660b2fb46ff7677dfb37172a6de8cb6ae5c12aebc3eb98ed962d0e7ebb4f3039

See more details on using hashes here.

File details

Details for the file naive_stopwords-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: naive_stopwords-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.5

File hashes

Hashes for naive_stopwords-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 167a4cda12e4dfb32f29870269170750a132a364644a0372f09301c2a5c1046c
MD5 907594c9568de1de980c1fd09366998a
BLAKE2b-256 029a5499ea1ba1320aacf733f185bf6b5ef5d1ed1c9eaf1736234eea522cb74d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page