Git Product home page Git Product logo

uzmorphanalyser's Introduction

UzMorphAnalyser

https://pypi.org/project/UzMorphAnalyser
https://github.com/UlugbekSalaev/UzMorphAnalyser

UzMorpAnalyser tool is focused to make morphological analysis of Uzbek word based on morphemes. The tool includes Stemmer, Lemmatizer, Morphological Analyze methods. 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 morphological analysis of Uzbek word based on morphemes. The tool includes Stemmer, Lemmatizer, Morphological Analyze methods.

Quick links

Demo

You can use web interface.

Features

  • Stemmer
  • Lemmatizer
  • Lemmatizer with POS tag
  • Extract Morphemes list
  • Analyzer
  • Analyzer with POS tag

Usage

Three options to run UzMorphAnalyser:

  • pip
  • API
  • Web interface

pip installation

To install UzMorphAnalyser, simply run:

pip install UzMorphAnalyser

After installation, use in python like following:

# import the library
from UzMorphAnalyser import UzMorphAnalyser
# create an object 
analyzer = UzMorphAnalyser()
# call stem method
analyzer.stem('maktabimda')
# call lemmatize method
analyzer.lemmatize('maktabimda')
# call lemmatize method with POS tag
analyzer.lemmatize('maktabimda', analyzer.POS.NOUN)
# call analyze method
analyzer.analyze('maktabimda')
# call analyze method with POS tag
analyzer.analyze('maktabimda', analyzer.POS.NOUN)

API

API configurations:

Note: argument pos is optional in all methods

Web-UI

The web interface created to use easily the library: You can use web interface here.

Demo image

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

pos parameters is optional for lemmatize and analyze metods.

Result Explaining

It returns single word in a string type from each method, stem and lemmatize, that is stem and lemma of given word, respectively.

Result from analyze method

analyze method returns a response as list of dictionary which is may contain following keys:

 {'word', 'lemma', 'pos', 'affix','affixed','tense','person','cases','singular','plural','question','negative','impulsion','copula','verb_voice','verb_func'}: 

Documentation

See here.

Citation

@misc{ulugbek_salaev_2023_10155225,
  author       = {Ulugbek Salaev},
  title        = {{MODELING MORPHOLOGICAL ANALYSIS BASED ON WORD- 
                   ENDING FOR UZBEK LANGUAGE}},
  month        = nov,
  year         = 2023,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.10155225},
  url          = {https://doi.org/10.5281/zenodo.10155225}
}

Contact

For help and feedback, please feel free to contact the author.

uzmorphanalyser's People

Contributors

ollaberganyuldashov avatar ulugbeksalaev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.