Skip to main content

klca

klca is a Korean lexical complexity analyzer.

Usage

Show help:

python3 -m klca --help

Analyze one file:

python3 -m klca file --input-file path/to/text.txt --output output.json

Analyze a folder:

python3 -m klca folder --input-dir path/to/texts --output results.csv
  • Use --recursive to include text files in subfolders. Without it, only files directly inside --input-dir are processed.

Included Resources

This package includes bundled resources used by the analyzer, including:

  • Reference databases for frequency, range, and association, released as an open-source dataset (korean-fineweb-edu)
  • Vocabulary grade database (National Institute of Korean Language resources), released under Korea Open Government License Type 1

Morpheme Parsing and Tagging

  • By default, klca uses the Korean stanza GSD model for tokenization, POS tagging, and lemmatization.
  • The model is downloaded by stanza at runtime and is not bundled in this package.
  • If you want to use a different Korean stanza model or a custom local model, you can modify the Stanza pipeline settings in the setting (both core.py and batch.py).

License

  • This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Metadata

Release files for klca 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klca 1.0.0
File Size Uploaded Provenance
klca-1.0.0.tar.gz 20.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for klca 1.0.0
File Interpreter ABI Platform
klca-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / klca-1.0.0.tar.gz

Download URL klca-1.0.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ea5d103b08dcf666b769ea7b26ba38c2afe5207328fdd7a4939470e3f245a6c0
BLAKE2b-256 checksum
How to use checksums
73e6315e81157422d910cebd729a69c2528cddcc4ef0d2c20e7a0226e0a54e1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / klca-1.0.0-py3-none-any.whl

Download URL klca-1.0.0-py3-none-any.whl
Size 20.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc43a492c0682191218f6180c1e72073ae67b234495f48c713a03ee555360876
BLAKE2b-256 checksum
How to use checksums
6d97dd2c044fcad8e18e66341d8046ac69bc85594da3e310a17d64e708b1a6b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for klca 1.0.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page