Buryat morphological analyzer
This is a rule-based morphological analyzer for Buryat (bua; Mongolic). It is based on a formalized description of literary Buryat morphology, which uses uniparser-morph for parsing. It performs full morphological analysis of Buryat words (lemmatization, POS tagging, grammatical tagging, glossing).
NB: The analyzer is still under construction. Right now, a number of entries in the dictionary have wrong POS tags or paradigms. Use with caution.
How to use
Python package
The analyzer is available as a Python package. If you want to analyze Buryat texts in Python, install the module:
pip3 install uniparser-buryat
Import the module and create an instance of BuryatAnalyzer class. Set mode='strict' if you are going to process text in standard orthography, or mode='nodiacritics' if you expect some words to lack the diacritics (which often happens in social media). 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_buryat import BuryatAnalyzer
a = BuryatAnalyzer(mode='strict')
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.
Word lists
Description format
The description is carried out in the uniparser-morph format and involves a description of the inflection (paradigms.txt), a grammatical dictionary (bua_lexemes_XXX.txt files), and a short list of analyses that should be avoided (bad_analyses.txt). The dictionary contains descriptions of individual lexemes, each of which is accompanied by information about its stem, its part-of-speech tag and some other grammatical/borrowing information, its inflectional type (paradigm), and, for some, Russian translation. See more about the format in the uniparser-morph documentation.
Metadata
Release files for uniparser-buryat 1.1.2
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_buryat-1.1.2.tar.gz | 4.6 kB | Without provenance | Details for uniparser_buryat-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uniparser_buryat-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for uniparser_buryat-1.1.2-py3-none-any.whl |
Total release size: 9.8 kB
Release files / uniparser_buryat-1.1.2.tar.gz
| Download URL | uniparser_buryat-1.1.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d2e831dc8ead57176ff7dd8a18160f9661c451ef9251b5b4ee228c2a2d09b5
|
|
BLAKE2b-256 checksum How to use checksums |
101328ac0812bf9e864e60d2553b0ad717ae2702cba6334302e8698d70ba220e
|
| 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_buryat-1.1.2-py3-none-any.whl
| Download URL | uniparser_buryat-1.1.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfb033a99147cb7bb957a5d6b26d8d90f4358dc98b27d5f97e3b9d707b191d88
|
|
BLAKE2b-256 checksum How to use checksums |
348cef988a2efe873d13242c55266f319f48c4b949ae9bac9e935bcbf97a4484
|
| 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-buryat 1.1.2
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.