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

Uploaded Source

File details

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

File metadata

  • Download URL: chamd-0.5.12.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for chamd-0.5.12.tar.gz
Algorithm Hash digest
SHA256 49dbc36193f9da71249553bec64a6a7fdd0d13f93c056acd5b57f41eccad61c2
MD5 7c653657d976505a9ddf055f5d415d69
BLAKE2b-256 3469db7130f9a8e8fd35bd22089a5bef2664aae320a7b0c052835c776f0c0cf5

See more details on using hashes here.

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