Classical Armenian morphological analyzer
This is a rule-based morphological analyzer for Classical Armenian (xcl). It is based on a formalized description of literary Classical Armenian morphology and uses uniparser-morph for parsing. It performs full morphological analysis of Classical Armenian words (lemmatization, POS tagging, grammatical tagging, glossing).
How to use
Python package
The analyzer is available as a Python package. If you want to analyze Classical Armenian texts in Python, install the module:
pip3 install uniparser-classical-armenian
Import the module and create an instance of ClassicalArmenianAnalyzer class. After that, you can either parse tokens or lists of tokens with analyze_words(), or parse a frequency list with analyze_wordlist(). Here is a simple example:
from uniparser_classical_armenian import ClassicalArmenianAnalyzer
a = ClassicalArmenianAnalyzer()
analyses = a.analyze_words('զՔրիստոսի')
# The parser is initialized before first use, so expect
# some delay here (usually several seconds)
# You will get a list of Wordform objects
# The analysis attributes are stored in its properties
# as string values, e.g.:
for ana in analyses:
print(ana.wf, ana.lemma, ana.gramm, ana.gloss)
# You can also pass lists (even nested lists) and specify
# output format ('xml' or 'json')
# If you pass a list, you will get a list of analyses
# with the same structure
analyses = a.analyze_words([['եւ'], ['Սիրեմ', 'զքեզ', ':']],
format='xml')
analyses = a.analyze_words(['զՔրիստոսի', [['եւ'], ['Սիրեմ', 'զքեզ', ':']]],
format='json')
Refer to the uniparser-morph documentation for the full list of options.
Metadata
Release files for uniparser-classical-armenian 1.0.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 |
|---|---|---|---|---|
| uniparser-classical-armenian-1.0.0.tar.gz | 1.6 MB | Without provenance | Details for uniparser-classical-armenian-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uniparser_classical_armenian-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for uniparser_classical_armenian-1.0.0-py3-none-any.whl |
Total release size: 3.3 MB
Release files / uniparser-classical-armenian-1.0.0.tar.gz
| Download URL | uniparser-classical-armenian-1.0.0.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
708b70cc3b720a81be4457291dc3767eac729086f63efea666ad1b9dab2cc1a3
|
|
BLAKE2b-256 checksum How to use checksums |
ae80491adcabf86d5a06420fe1c9dff293fbb38d87a4754db85af467bcc58045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.28.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / uniparser_classical_armenian-1.0.0-py3-none-any.whl
| Download URL | uniparser_classical_armenian-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30c939b3c86f159d7975e0fcdb9e5264ca8c71d81fe9c315c9f37f4e6aab3029
|
|
BLAKE2b-256 checksum How to use checksums |
eb72a9b296d0c431ad16d52eae086043cdc922bcca39be1143ae6d635818fdba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.28.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for uniparser-classical-armenian 1.0.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.