Skip to main content

Conversion and cleaning of CHILDES CHA files into PaQu Plaintext Metadata Format

Project description

Python package Python package DOI

CHAMD

Conversion and cleaning of CHILDES CHA files into PaQu Plaintext Metadata Format (to convert to Alpino).

Installation and usage

pip install chamd
chamd --help

Running from project:

python -m chamd --help

Import as library

This way the library can be used to read CHAT file (contents) from an external application.

from chamd import ChatReader
reader = ChatReader()
chat = reader.read_file('example.cha') # or read_string

for item in chat.metadata:
    print(item)
for line in chat.lines:
    for item in line.metadata:
        print(item)
    print(line.text)

Upload to PyPi

python setup.py sdist
twine upload dist/*

Run tests

python -m unittest discover tests/

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

chamd-0.5.13.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

chamd-0.5.13-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file chamd-0.5.13.tar.gz.

File metadata

  • Download URL: chamd-0.5.13.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chamd-0.5.13.tar.gz
Algorithm Hash digest
SHA256 b5b2a384903167cf5b4298df9264f6cb89cd841ba16050be9a296e5a4aac23d0
MD5 d81ff982c7368e340c390142ab20cd98
BLAKE2b-256 d8cb93d5c1937d304bd51cf699654d5ceebce53e9c72c761d394c9f85e653e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for chamd-0.5.13.tar.gz:

Publisher: release.yml on CentreForDigitalHumanities/chamd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chamd-0.5.13-py3-none-any.whl.

File metadata

  • Download URL: chamd-0.5.13-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chamd-0.5.13-py3-none-any.whl
Algorithm Hash digest
SHA256 fcea43ab3314dd86a41f992f40fd52007c9af9045307ef206876e9547fa9aabd
MD5 6608d3492828ea31a65114188091a39a
BLAKE2b-256 c86bdaf58f01a315bd594fb9b8c50243ecc97198b0f40787eb67ec788fd496b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for chamd-0.5.13-py3-none-any.whl:

Publisher: release.yml on CentreForDigitalHumanities/chamd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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