Conversion and cleaning of CHILDES CHA files into PaQu Plaintext Metadata Format (to convert to Alpino).
pip install chamd
chamd --help
Running from project:
python -m chamd --help
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)
python setup.py sdist
twine upload dist/*
python -m unittest discover tests/