Skip to main content

Korean lexical complexity analyzer.

Project description

klca

klca is a Korean lexical complexity analyzer.

Dependency Data

klca downloads required dependency files from the public Hugging Face dataset repository hksung/klca_deps at runtime. If needed, you can override this by setting KLCA_HF_REPO_ID.

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

The default Korean stanza GSD model is downloaded by stanza at runtime and is not bundled in this package.

License

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

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

klca-0.1.2.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

klca-0.1.2-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file klca-0.1.2.tar.gz.

File metadata

  • Download URL: klca-0.1.2.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for klca-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d906d6337b30e6d7123149876c0e2fdbf610e0bb4c97a5a93a70b72f7fae8b85
MD5 31d89759c91a46de4a81c0fb104a6b91
BLAKE2b-256 e87292eb50eab76808b31b56bfed2951e589089ead4f6b2ab5f4dc8d832e7c70

See more details on using hashes here.

File details

Details for the file klca-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: klca-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for klca-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5feb3b9b666959788c260e6798cc6a2fc332bc111a2e8973be3d9a40be80e23
MD5 5d804431489cc19ab437fec36460170f
BLAKE2b-256 6026abb9cbe6ea05b72e229a5ab87de0a4cefaa8e726089876df2cb58d914758

See more details on using hashes here.

Supported by

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