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.0.5.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for pyparlaclarin-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67fc14225eaf40759c3cdb97b2fd6cacaeaaf08b25a66803de0356bc241a288 |
|
MD5 | cffca1eaf77336cfb3ee67216c0ff641 |
|
BLAKE2b-256 | 047a4f0e1071dd6f0737194445f2625c9831c66c16813a126249ba9a3fe93d63 |