### API Sample Request for Stemming Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Example of a GET request to the UzMorphAnalyser API for stemming a word. The 'word' parameter is required. ```http https://nlp.urdu.uz:8080/uzmorphanalyser/stem?word=maktabimda ``` -------------------------------- ### Basic Usage of UzMorphAnalyser in Python Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Demonstrates how to import, instantiate, and use the core methods (stem, lemmatize, analyze) of the UzMorphAnalyser library in Python. Includes examples with and without POS tags. ```python from UzMorphAnalyser import UzMorphAnalyser analyzer = UzMorphAnalyser() analyzer.stem('maktabimda') analyzer.lemmatize('maktabimda') analyzer.lemmatize('maktabimda', analyzer.POS.NOUN) analyzer.analyze('maktabimda') analyzer.analyze('maktabimda', analyzer.POS.NOUN) ``` -------------------------------- ### Install UzMorphAnalyser using pip Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Install the UzMorphAnalyser library using pip. This is the primary method for integrating the tool into Python projects. ```bash pip install UzMorphAnalyser ``` -------------------------------- ### API Sample Request for Lemmatization Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Example of a GET request to the UzMorphAnalyser API for lemmatization. Both 'word' and optional 'pos' parameters are used. ```http https://nlp.urdu.uz:8080/uzmorphanalyser/lemmatize?word=maktabimda&pos=NOUN ``` -------------------------------- ### API Sample Request for Analysis Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Example of a GET request to the UzMorphAnalyser API for morphological analysis. Both 'word' and optional 'pos' parameters are used. ```http https://nlp.urdu.uz:8080/uzmorphanalyser/analyze?word=maktabimda&pos=NOUN ``` -------------------------------- ### Lemmatize Endpoint Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md This endpoint provides the lemma of a given Uzbek word, optionally with a Part-of-Speech tag. ```APIDOC ## GET /uzmorphanalyser/lemmatize ### Description Provides the lemma of a given Uzbek word, optionally with a Part-of-Speech tag. ### Method GET ### Endpoint https://nlp.urdu.uz:8080/uzmorphanalyser/lemmatize ### Parameters #### Query Parameters - **word** (string) - Required - The Uzbek word to lemmatize. - **pos** (string) - Optional - The Part-of-Speech tag (e.g., NOUN, VERB, ADJ, NUM, PRN, ADV). ### Request Example https://nlp.urdu.uz:8080/uzmorphanalyser/lemmatize?word=maktabimda&pos=NOUN ### Response #### Success Response (200) - Response type: string - The lemma of the input word. ``` -------------------------------- ### Analyze Endpoint Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md This endpoint performs morphological analysis on a given Uzbek word, optionally with a Part-of-Speech tag, returning detailed morphological information. ```APIDOC ## GET /uzmorphanalyser/analyze ### Description Performs morphological analysis on a given Uzbek word, optionally with a Part-of-Speech tag, returning detailed morphological information. ### Method GET ### Endpoint https://nlp.urdu.uz:8080/uzmorphanalyser/analyze ### Parameters #### Query Parameters - **word** (string) - Required - The Uzbek word to analyze. - **pos** (string) - Optional - The Part-of-Speech tag (e.g., NOUN, VERB, ADJ, NUM, PRN, ADV). ### Request Example https://nlp.urdu.uz:8080/uzmorphanalyser/analyze?word=maktabimda&pos=NOUN ### Response #### Success Response (200) - Response type: list of dictionaries - Contains detailed morphological information for the word. Possible keys include: 'word', 'lemma', 'pos', 'affix', 'affixed', 'tense', 'person', 'cases', 'singular', 'plural', 'question', 'negative', 'impulsion', 'copula', 'verb_voice', 'verb_func'. ``` -------------------------------- ### Stem Endpoint Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md This endpoint provides the stem of a given Uzbek word. ```APIDOC ## GET /uzmorphanalyser/stem ### Description Provides the stem of a given Uzbek word. ### Method GET ### Endpoint https://nlp.urdu.uz:8080/uzmorphanalyser/stem ### Parameters #### Query Parameters - **word** (string) - Required - The Uzbek word to stem. ### Request Example https://nlp.urdu.uz:8080/uzmorphanalyser/stem?word=maktabimda ### Response #### Success Response (200) - Response type: string - The stem of the input word. ``` -------------------------------- ### Analyze Method Result Structure Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Illustrates the structure of the response from the 'analyze' method, which is a list of dictionaries containing detailed morphological information. ```yaml {'word', 'lemma', 'pos', 'affix','affixed','tense','person','cases','singular','plural','question','negative','impulsion','copula','verb_voice','verb_func'} ``` -------------------------------- ### UzMorphAnalyser Citation Source: https://github.com/ulugbeksalaev/uzmorphanalyser/blob/main/README.md Bibliographic information for citing the UzMorphAnalyser project in academic work. ```tex @CONFERENCE{Salaev2024, author = {Salaev, Ulugbek}, title = {UzMorphAnalyser: A Morphological Analysis Model for the Uzbek Language Using Inflectional Endings}, year = {2024}, journal = {AIP Conference Proceedings}, volume = {3244}, number = {1}, doi = {10.1063/5.0241461}, url = {https://www.scopus.com/inward/record.uri?eid=2-s2.0-85212084325&doi=10.1063%2f5.0241461&partnerID=40&md5=2aebf2ea03ea0a3a7850c4fb867480ba}, source = {Scopus}, } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.