A Macronizer for Ancient Greek
A macronizer geared towards batch macronizing corpora with machine-friendly markup, avoiding combining diacritics and everything that doesn't render in standard IDE and terminal fonts unless specifically asked for.
Installation:
- Create a virtual environment with Python 3.12. Nothing will work if you don't get this step right!
- After having initialized your venv, activate it and install the right version of spaCy, the dependency of odyCy, with
pip install spacy>=3.7.4,<3.8.0. - Navigate to
external/grc_odycy_joint_trfand install odyCy locally withpip install grc_odycy_joint_trf, while making sure that you are still in the venv with Python 3.12 you created earlier. - Install the submodule
grc-utilswithcd grc-utilsandpip install ..
And that's it! Start macronizing by running the notebook here.
If you have a plain text file you want to macronize, you can run it with python main.py input_file output_file.
Note that if you have a newer spaCy pipeline for Ancient Greek, it is easy to substitute it for odyCy. Indeed, the rest of the software has no legacy dependencies and should run with the latest python.
License
Metadata
Release files for grc-macronizer 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grc_macronizer-1.3.0.tar.gz | 16.8 MB | Without provenance | Details for grc_macronizer-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grc_macronizer-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for grc_macronizer-1.3.0-py3-none-any.whl |
Total release size: 34.0 MB
Release files / grc_macronizer-1.3.0.tar.gz
| Download URL | grc_macronizer-1.3.0.tar.gz |
|---|---|
| Size | 16.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ed99d8e1cf9bb07a0e3cf2c20fca6073940ff6c93ee3d8f8a8f27c2958a28ce
|
|
BLAKE2b-256 checksum How to use checksums |
5a6222e71176485ee6d50ff42a6d9a0cdb1b1951ef8984a1f235595aa3166525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / grc_macronizer-1.3.0-py3-none-any.whl
| Download URL | grc_macronizer-1.3.0-py3-none-any.whl |
|---|---|
| Size | 17.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7df5ac296b5a1a7090a08ce75310c7cfbd4ec5f0da09d1a7391c95a0ffe7a65
|
|
BLAKE2b-256 checksum How to use checksums |
c0e9a0ab6bd109c07eae9736bd426f40f967232ba042bfeec568a4c4b86218d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for grc-macronizer 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.