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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyparlaclarin-0.9.2.tar.gz.
File metadata
- Download URL: pyparlaclarin-0.9.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c536c50fc6f71e0874c04ab49e4d17cd48760ac4d7cacb3b8ca8d5072233f3
|
|
| MD5 |
24bec6fed2e09d3d759234f5c1a14c4e
|
|
| BLAKE2b-256 |
d53cde259e85c9b776390ab6a6606d92df7101aaca23a223717546d7c3242abb
|
File details
Details for the file pyparlaclarin-0.9.2-py3-none-any.whl.
File metadata
- Download URL: pyparlaclarin-0.9.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f936b4d5728c154db43ceedb1de05613dfeeec0135067cee2c6fcd2b931f6140
|
|
| MD5 |
7d6289b0b9d3bb267bb26e23c26aef23
|
|
| BLAKE2b-256 |
76f212599c9721c3ab98bdb6697f935144575581743a48aedc47b884ea5c2d3e
|