ko-ww-stopwords
This is a set of whole-word (independent) stop words in Korean. Dependent stop words, on the other hand, are difficult to identify without using a part-of-speech tagger, but it is easy to identify whole-word (independent) stop words.
Code Sample
from ko_ww_stopwords.stop_words import ko_ww_stop_words from ko_ww_stopwords.tools import is_stop_word, strip_outer_punct
print(ko_ww_stop_words)
#is_stop_word(word) #Returns true if word is a whole-word stop word.
print("우선 is_stop_word -> {}".format(is_stop_word("우선")))
print("서울 is_stop_word -> {}".format(is_stop_word("서울")))
#strip_outer_punct(word) #Strips leading and trailing punctuation marks from word.
raw_str = "(우선)"
print("raw_str is_stop_word -> {}".format(is_stop_word(raw_str)))
normalized_str = strip_outer_punct(raw_str)
print("normalized_str is_stop_word -> {}".format(is_stop_word(normalized_str)))
Other Packages
If you need a Korean sentence tokenizer, please see https://github.com/Rairye/kr-sentence
Metadata
Release files for ko-ww-stopwords 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ko_ww_stopwords-0.0.1.tar.gz | 3.2 kB | Without provenance | Details for ko_ww_stopwords-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ko_ww_stopwords-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for ko_ww_stopwords-0.0.1-py3-none-any.whl |
Total release size: 7.2 kB
Release files / ko_ww_stopwords-0.0.1.tar.gz
| Download URL | ko_ww_stopwords-0.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe1752cac3184a121f2cd6cb0414838c9ecc8c8ad7596c6bfffd84732a6cedea
|
|
BLAKE2b-256 checksum How to use checksums |
17a5b9a3fec799004d4b82bbd20c7f0583bbf4cc37b70cc3d1b8a4f4c1ac9f32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
|
Release files / ko_ww_stopwords-0.0.1-py3-none-any.whl
| Download URL | ko_ww_stopwords-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88883ee851b6c3be7468241b0fcf0bc0fe327d003b73a809710be04f1193627e
|
|
BLAKE2b-256 checksum How to use checksums |
f3d7f966ec69731af9c16c5becde0b41ea2d064aa35f084910552f1a0f73ec6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
|
Security for ko-ww-stopwords 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.