vrt_generator
Python class for creating vrt-annotated corpora. Still in very early testing stage.
Install by typing:
pip install vrt_generator
Usage Example:
from vrt import Corpus, S, Text
with Corpus("~","meinkorpus",4,"text_name") as c:
with Text(c, text_name="Text2") as t:
with S(c) as s:
s.writep("Test","TAG","TAG","Lemma")
Features:
- Represent Corpus, Text, P and S Attributes
- Integration of spacy for automatic generation of a vrt-representation of texts
- Using Context Manager for xml-hierarchy representation
- Reduces to utf8mb3 and checks formatting compatibility
- If you want to add texts that are automatically POS-Tagged with Spacy, you might look at vrt_spacy
Release files for vrt-generator 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vrt_generator-0.0.6.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vrt_generator-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / vrt_generator-0.0.6.tar.gz
| Download URL | vrt_generator-0.0.6.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7df328fad85ad72ae84f53ba1e59fd1dc6173ab24f8f05ba218283eae562fa0
|
|
BLAKE2b-256 checksum How to use checksums |
afe0d366fb86534bca6003da38a0a983affb7d4c759add4cd193b8c2222f480e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
|
Release files / vrt_generator-0.0.6-py3-none-any.whl
| Download URL | vrt_generator-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3981967b8e8a269e08aa923bbcec3d93a4903fcd3c6a2a7e07197e43c4b2de17
|
|
BLAKE2b-256 checksum How to use checksums |
0ea796f0fda49bb2b3c01ce130097336163d8b625d3082cf29cd2512fc907b32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
|