Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a linter/checker #212

Open
akshdeep-singh opened this issue Jul 27, 2023 · 0 comments
Open

Implement a linter/checker #212

akshdeep-singh opened this issue Jul 27, 2023 · 0 comments
Labels
✓ Type Task Technical work that is not directly related to a user requirement but still must be completed.

Comments

@akshdeep-singh
Copy link
Collaborator

akshdeep-singh commented Jul 27, 2023

Summary

The user input can be anything. Invalid Unicode sequences can result in unexpected results from gurmukhi-utils functions. So, a linter/checker is required to extract/show various kinds of invalid/unsupported character sequences in the Gurmukhi text.

It is better to separate the linter from other functions.

Related: #210

Some Examples of invalid/unsupported character sequences:

  • Invalid sequence of diacritics
  • Invalid combination of diacritics (Example: Valid combination of dual matras)
  • Diacritics without base letter
  • Invalid Consonants after Virama
  • Non-normalized Gurmukhi text
  • Unicode text mixed with Ascii
  • Spelling mistakes (Valid sequence but meaningless word)
  • Grammatical errors (Sentence formed from the sequence of words is meaningless)

Approach

@akshdeep-singh akshdeep-singh added the ✓ Type Task Technical work that is not directly related to a user requirement but still must be completed. label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✓ Type Task Technical work that is not directly related to a user requirement but still must be completed.
Projects
None yet
Development

No branches or pull requests

1 participant