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.8.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for pyparlaclarin-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9afb4bbc0e3a363562dfcf14d63961d5c1f1752244d71067933f66e17e5cef45 |
|
MD5 | a385d19e2ac6c898675a07c2fc24033c |
|
BLAKE2b-256 | 233de67f28ae084aec39047446e0f74019f0da258e32d29d98866d84eef2e193 |