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 hashes)

Uploaded Source

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