Skip to main content

Pos Tagging ============

    This is a tool meant for tagging words with their part-of-speech, a grammatical category based on their function within a sentence, such as noun, adjective, verb, and so forth. 
    
    Video Lectures
    ============
    
    [<img src="https://github.com/StarlangSoftware/EnglishPosTagger/blob/master/video1.jpg" width="50%">](https://youtu.be/gQmc7Nhwhuk)[<img src="https://github.com/StarlangSoftware/EnglishPosTagger/blob/master/video2.jpg" width="50%">](https://youtu.be/GHUib73MRks)
    
    For Developers
    ============
    You can also see [Python](https://github.com/starlangsoftware/EnglishPosTagger-Py), [Java](https://github.com/starlangsoftware/EnglishPosTagger), [C++](https://github.com/starlangsoftware/EnglishPosTagger-CPP), [C](https://github.com/starlangsoftware/EnglishPosTagger-C), [Swift](https://github.com/starlangsoftware/EnglishPosTagger-Swift), [Js](https://github.com/starlangsoftware/EnglishPosTagger-Js), or [C#](https://github.com/starlangsoftware/EnglishPosTagger-CS) repository.
    
    ## Requirements
    
    * [Python 3.7 or higher](#python)
    * [Git](#git)
    
    ### Python 
    
    To check if you have a compatible version of Python installed, use the following command:
    
        python -V
        
    You can find the latest version of Python [here](https://www.python.org/downloads/).
    
    ### Git
    
    Install the [latest version of Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
    
    ## Pip Install
    
    	pip3 install NlpToolkit-PosTagger-Cy
    
    ## Download Code
    
    In order to work on code, create a fork from GitHub page. 
    Use Git for cloning the code to your local or below line for Ubuntu:
    
    	git clone <your-fork-git-link>
    
    A directory called EnglishPosTagger will be created. Or you can use below link for exploring the code:
    
    	git clone https://github.com/starlangsoftware/EnglishPosTagger-Cy.git
    
    ## Open project with Pycharm IDE
    
    Steps for opening the cloned project:
    
    * Start IDE
    * Select **File | Open** from main menu
    * Choose `EnglishPosTagger-Cy` file
    * Select open as project option
    * Couple of seconds, dependencies will be downloaded. 
    
    Detailed Description
    ============
    
    + [PosTagger](#postagger)
    
    ## PosTagger
    
    To train the PosTagger which is used for English pos tagging 
    
    	train(self, corpus: PosTaggedCorpus)
    	
    To save the trained PosTagger model
    
    	saveModel(self)
    	
    To load an already trained PosTagger model
    
    	loadModel(self)
    	
    To tag a sentence, using a newly trained or loaded PosTagger model
    
    	posTag(self, sentence: Sentence) -> Sentence
    	
    3 different PosTagger models are supported: The one that is used to tag the sentences with a random tag
    
    	DummyPosTagger
    	
    the one that tags the word with the most used tag for a given word
    
    	NaivePosTagger
    	
    the one that does an Hmm based training and tags the words accordingly
    
    	HmmPosTagger

Metadata

Release files for nlptoolkit-postagger-cy 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlptoolkit-postagger-cy 1.0.6
File Size Uploaded
nlptoolkit_postagger_cy-1.0.6.tar.gz 410.0 kB Details

Release files / nlptoolkit_postagger_cy-1.0.6.tar.gz

Download URL nlptoolkit_postagger_cy-1.0.6.tar.gz
Size 410.0 kB
Tags Source
SHA-256 checksum
How to use checksums
72e5440910387565fec8ef9b947b17743891a1c2190244c0874b1ebeafe8c46d
BLAKE2b-256 checksum
How to use checksums
0cec893d4b5e85bc20733566df2fe2be129df22570dafad650216858b6befe83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page