Skip to main content

Stopwords for Chinese.

Project description

naive-stopwords

Python package PyPI version Python

Stop words for Chinese.

Installation

pip install -U naive-stopwords

Usage

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

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.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

naive_stopwords-0.0.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naive-stopwords-0.0.2.tar.gz
  • Upload date:
  • Size: 14.7 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.2 CPython/3.8.5

File hashes

Hashes for naive-stopwords-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c48ca934d97a566b9467eb46a100adfb4b2552511792aeeac6a209258cc9f80c
MD5 8c9762fdb7cba1fe7f2d4fb13ed75e04
BLAKE2b-256 052cfc819946011610bb2f2d9ce8d20b8d45ce33b3aefa5542cc72a3eb77a85b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: naive_stopwords-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.2 CPython/3.8.5

File hashes

Hashes for naive_stopwords-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa60a2390a3c7a7d212383c8cdc02ce96a7ebac407409af3c7262128a55e9775
MD5 231cf050e69c8afd197cd3ec8cc69725
BLAKE2b-256 0ea5d6e9b05fe18fd76936954da775d3379381381cb44acd626988218ee9275f

See more details on using hashes here.

Provenance

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