• Overview of Punjabi Grammar

Part Of Speech Tagger

The output of a morphological analyzer is usually ambiguous as it may return more than one part-of-speech (POS) tag for a single word. The reason being that in sentences, for example, same word can be used as a noun or a verb, as a verb or a postposition. The job of a part-of-speech tagger is to disambiguate that ambiguous input by making use of the context information. A part-of-speech tagger is also known as a morphological disambiguator or simply a tagger.

A part of speech tag is an abbreviated form of the word class and other grammatical information. For instance, in this POS tagger ‘NNMSD’ tag is used for noun (NN) word class words having masculine (M) gender, singular (S) number, and direct (D) case. Most of the POS taggers have similar POS tags. However, the number of tags in a tagger depends upon the depth of the grammatical information required to be represented through the POS tags.

How to use the Part of Speech Tagger?

Specify the sentence for which you want to know the part of speech information for its consitutents. As mentioned earlier, the position of a word in a sentence determines its word class and other grammatical information. The part of speech tagger takes into account grammatical information of all the surrounding words when deciding about the part of speech tag for a given word.

The following examples shows the tagged output produced by this part of speech tagger for the specified input sentences:
  • Input:
    ਮੁੰਡਾ ਸਕੂਲ ਜਾ ਰਿਹਾ ਸੀ।
    muṇḍā sakūl jā rihā sī.
    The boy was going to school.

    ਮੁੰਡਾ_NNMSD ਸਕੂਲ_NNMXD ਜਾ_VBMAXSS3XINO ਰਿਹਾ_VBORMSXXPINIA ਸੀ_VBAXXXX2 ।_Sentence
    muṇḍā_NNMSD sakūl_NNMXD jā_VBMAXSS3XINO rihā_VBORMSXXPINIA sī_VBAXXXX2 ._Sentence

  • Input:
    ਅੱਜ ਮੀਂਹ ਪੈ ਜਾਂਦਾ ਤਾਂ ਚੰਗਾ ਸੀ।
    ajj mīṃh pai jāndā tāṃ caṅgā sī.
    It would have been better had it rained today.

    ਅੱਜ_AVU ਮੀਂਹ_NNMXD ਪੈ_VBMAXSS3XINO ਜਾਂਦਾ_VBOPMSXXXINDA ਤਾਂ_CJS ਚੰਗਾ_AJIMSD ਸੀ_VBAXXXX2 ।_Sentence
    ajj_AVU mīṃh_NNMXD pai_VBMAXSS3XINO jāndā_VBOPMSXXXINDA tāṃ_CJS caṅgā_AJIMSD sī_VBAXXXX2 ._Sentence

Ready to use the Part of Speech Tagger?

Ever wondered which word class a particular word belongs to when used in a sentence?
Specify an input sentence and then analyze the output produced by this POS tagger to understand the function of each and every word in that sentence.
Start using the Part of Speech Tagger now

* Required field
Name: *
Comments: *