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.3.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pyparlaclarin-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863f791284adf88dc4cda9169df8f7c9d15ec441156a800d599e5ce14defd957 |
|
MD5 | 747ce9f9ed56e4bc01f391283c4e5aec |
|
BLAKE2b-256 | e774c66cd3c39f0bc8eb7fb1144339d4480979c9a60ec46d179d3ca39d574f12 |