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.6.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for pyparlaclarin-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1c0b47409370d1c4faa80f4ad315ba7047dbca7eaa8e08be0979a184b55138 |
|
MD5 | 61a775484dabc1795478aa1313bda716 |
|
BLAKE2b-256 | 9c30053c6d33b2a88b924df0bdda013a6e66ba7ac7332dc5230a0d21d1d9d4c0 |