uztagger | Uzbek Morphological Part of Speech (POS) Tagging on Python
Project description
uztagger
https://pypi.org/project/uztagger
https://github.com/UlugbekSalaev/uztagger
uztagger tool is focused to make tagging sentence with morphological Part of Speech (POS) tagset of Uzbek word based on morphemes. The tool includes list of POS tagset, tagging method. It is created as a python library and uploaded to PyPI. It is simply easy to use in your python project or other programming language projects via the API.
About project
The tool is focused to make tagging sentence with morphological Part of Speech (POS) tagset of Uzbek word based on morphemes. The tool includes list of POS tagset, tagging method.
Quick links
Demo
You can use web interface.
Features
- Tagging
- POS tag list
- Help function
Usage
Three options to run uztagger:
- pip
- API
- Web interface
pip installation
To install uztagger, simply run:
pip install uztagger
After installation, use in python like following:
# import the library
from uztagger import Tagger
# create an object
tagger = Tagger()
# call tagging method
tagger.predict_pos('Bizlar bugun maktabga bormoqchimiz.')
API
API configurations:
-
Method: GET
-
Response type:
string
-
URL: https://uzbeknlp.herokuapp.com/uztagger
- Parameters:
sentence:string
- Sample Request: https://uzbeknlp.herokuapp.com/uztagger?sentence=maktabimda
- Parameters:
Web-UI
The web interface created to use easily the library: You can use web interface here.
Options
When you use PyPI or API, you should use following options as POS tag of a word which is optional parameters of lemmatize()
and analyze()
metods:
NOUN
Noun
VERB
Verb
ADJ
Adjective
NUM
Numerical
PRN
Pronoun
ADV
Adverb
Result Explaining
The method predict_pos
returns list of sentences in a string type, that an item of the list contain tuples for each token of the sentence with following format: (token, pos)
, for POS tag list, see POS Tag List section on below.
Result from tagger
method
Documentation
See here.
Citation
@misc{uztagger,
title={{uztagger}: Morphological Part of Speech Tagger Tool for Uzbek},
url={https://github.com/UlugbekSalaev/uztagger},
note={Software available from https://github.com/UlugbekSalaev/uztagger},
author={
Ulugbek Salaev},
year={2022},
}
Contact
For help and feedback, please feel free to contact the author.
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 Distributions
Built Distribution
File details
Details for the file uztagger-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: uztagger-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fba710f3b58264dc953cb959ac10d1a7c29e68f4dfd0b3a51c1b47523138e6e |
|
MD5 | f9b76ece56f21a4902517df85869d2d7 |
|
BLAKE2b-256 | b6b47399accf6261a5b41ed9b8c91f15f2db7e695d9dad731b10de6b4bfaf5c7 |