Read, create, and modify Parla-Clarin XML files
Project description
Pyparlaclarin
This module includes functionality for reading, creating, and modifying Parla-Clarin XML files.
For instance, you can loop over all paragraphs in a Parla-Clarin file with a simple function:
from pyparlaclarin.read import paragraph_iterator
for paragraph in paragraph_iterator(root):
print(paragraph)
or get all speeches by a speaker
from pyparlaclarin.read import speeches_with_name
for speech in speeches_with_name(root, name="barack_obama_1961"):
print(speech)
Further documentation is available on GitHub pages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyparlaclarin-0.7.3.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for pyparlaclarin-0.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82bd3059c05a2ac8a6bb7fa30351268345fa62ebab0958028029fdf09d023a60 |
|
MD5 | 826e753bfa74bcdfec0bf4f03d2028cd |
|
BLAKE2b-256 | 4070692ca9846d6e33098a02a7ee9d2429858642ca23e38fe27dd4aa44a2878d |