• Overview of Punjabi Grammar

Grammar Checker

Grammar checking is one of the basic activities performed in a typical word processing application. Grammar checking means to ensure that a given piece of text follows the grammar rules of the language in which it is written. This is an entirely automated grammar checking system for the Punjabi language, which to the best of our knowledge is first such elaborate attempt at grammar checking for one of the Indian languages.

The grammar checker performs error checking at phrase and clause levels using grammatical information exhibited by part-of-speech tags in the form of feature value pairs. It can detect a number of grammatical errors in formal Punjabi texts. For most of the detected errors, it provides a list of suggestions. It also provides detailed error information explaining error rule applied along with incorrect and desired values for involved grammatical categories.

How to use the Grammar Checker?

Specify the sentence that you want to check for grammatical errors. The grammar checker will correct any grammatical errors found in that, and return a corrected form of the input sentence. It will also provide a description of all the corrections made.

The following examples show the input sentences with the corrected output produced by this grammar checker along with the error description generated:
  • Input:
    ਦੋ ਸੋਹਣਾ ਮੁੰਡੇ ਜਾਂਦੇ ਹਨ।
    dō sōhṇā muṇḍē jāndē han.

    Corrected output:
    ਦੋ ਸੋਹਣੇ ਮੁੰਡੇ ਜਾਂਦੇ ਹਨ।
    dō sōhṇē muṇḍē jāndē han.
    Two handsome boys go.

    Error description:
    Total 1 error found and correct in the input text.
    Original sentence having errors:
    ਦੋ ਸੋਹਣਾ ਮੁੰਡੇ ਜਾਂਦੇ ਹਨ।

    Use of words: ਸੋਹਣਾ is incorrect according to ਮੁੰਡੇ
    -Suggestions provided: ਸੋਹਣੇ
    -Error Details: Number is Singular but should be Plural
    -Error Reason: The modifiers must agree with their noun in gender, number, and case.
    -Examples:
    Instead of - ਇੱਕ ਭੱਜੀ ਜਾਂਦੀ ਸੋਹਣਾ ਬੱਚਾ ਡਿਗ ਪਿਆ।
    Consider - ਇੱਕ ਭੱਜਿਆ ਜਾਂਦਾ ਸੋਹਣਾ ਬੱਚਾ ਡਿਗ ਪਿਆ।

    Instead of - ਇੱਕ ਨਿੱਕੀਆਂ ਸੋਹਣੀ ਕੁਡ਼ੀਆਂ ਆਈਆਂ।
    Consider - ਨਿੱਕੀਆਂ ਸੋਹਣੀਆਂ ਕੁਡ਼ੀਆਂ ਆਈਆਂ।

  • Input:
    ਮਾਪੇ ਹਮੇਸ਼ਾਂ ਆਪਣਾ ਬੱਚਿਆਂ ਦੇ ਰੂਪ ਵਿੱਚ ਜਿਊਂਦਾ ਰਹੇਗਾ।
    māpē hamēsāṃ āpaṇā bacciāṃ dē rūp vicc jiūndā rahēgā.

    Corrected output:
    ਮਾਪੇ ਹਮੇਸ਼ਾਂ ਆਪਣਿਆਂ ਬੱਚਿਆਂ ਦੇ ਰੂਪ ਵਿੱਚ ਜਿਊਂਦੇ ਰਹਿਣਗੇ।
    māpē hamēsāṃ āpṇiāṃ bacciāṃ dē rūp vicc jiūndē rahiṇgē.
    The parents will always live in their children.

    Error description:
    Total 3 errors found and corrected in the input text.
    Original sentence having errors:
    ਮਾਪੇ ਹਮੇਸ਼ਾਂ ਆਪਣਾ ਬੱਚਿਆਂ ਦੇ ਰੂਪ ਵਿੱਚ ਜਿਊਂਦਾ ਰਹੇਗਾ।

    -Use of words: ਆਪਣਾ is incorrect according to ਬੱਚਿਆਂ
    -Suggestions provided: ਆਪਣਿਆਂ
    -Error Details: Number is Singular but should be Plural/Case is Direct but should be Oblique
    -Error Reason: The modifiers must agree with their noun in gender, number, and case.
    -Examples:
    Instead of - ਇੱਕ ਭੱਜੀ ਜਾਂਦੀ ਸੋਹਣਾ ਬੱਚਾ ਡਿਗ ਪਿਆ।
    Consider - ਇੱਕ ਭੱਜਿਆ ਜਾਂਦਾ ਸੋਹਣਾ ਬੱਚਾ ਡਿਗ ਪਿਆ।

    Instead of - ਇੱਕ ਨਿੱਕੀਆਂ ਸੋਹਣੀ ਕੁਡ਼ੀਆਂ ਆਈਆਂ।
    Consider - ਨਿੱਕੀਆਂ ਸੋਹਣੀਆਂ ਕੁਡ਼ੀਆਂ ਆਈਆਂ।

    -Use of words: ਜਿਊਂਦਾ is incorrect according to ਮਾਪੇ
    -Suggestions provided: ਜਿਊਂਦੇ
    -Error Details: Number is Singular but should be Plural
    -Error Reason: The verb phrase of a sentence must agree with the subject/object in gender, number, and person.
    -Examples:
    Instead of - ਮੁੰਡਾ ਖੇਡ ਰਹੀ ਹੁੰਦੀ ਹਨ।
    Consider - ਮੁੰਡਾ ਖੇਡ ਰਿਹਾ ਹੁੰਦਾ ਹੈ।

    Instead of - ਮੈਂ ਘਰ ਜਾ ਰਹੇ ਹਨ।
    Consider - ਮੈਂ ਘਰ ਜਾ ਰਿਹਾ ਹਾਂ।

    -Use of words: ਰਹੇਗਾ is incorrect according to ਮਾਪੇ
    -Suggestions provided: ਰਹਿਣਗੇ
    -Error Details: Number is Singular but should be Plural
    -Error Reason: The verb phrase of a sentence must agree with the subject/object in gender, number, and person.
    -Examples:
    Instead of - ਮੁੰਡਾ ਖੇਡ ਰਹੀ ਹੁੰਦੀ ਹਨ।
    Consider - ਮੁੰਡਾ ਖੇਡ ਰਿਹਾ ਹੁੰਦਾ ਹੈ।

    Instead of - ਮੈਂ ਘਰ ਜਾ ਰਹੇ ਹਨ।
    Consider - ਮੈਂ ਘਰ ਜਾ ਰਿਹਾ ਹਾਂ।

Ready to use the Grammar Checker?

Want to know if there are any grammatical errors in the text that you have written? Want to learn from your mistakes by analyzing which grammatical error you have made, so as to avoid the similar mistakes in your future writings?
Give a Punjabi sentence as input, and then check the output produced by this grammar checker. If there are any errors found and corrected, then analyze the error description for an in-depth understanding of which errors were there in the input text.
Start using the Grammar Checker now






Feedback
* Required field
Name: *
Email:
Comments: *