Skip to content

Grammar checker POC #662

Description

@henrikth93

Terms

Description

In our Matrix chat I have talked about a feature that lets us check the grammar of the input using dependency parsing.

https://www.geeksforgeeks.org/nlp/dependency-parsing-with-nltk/

I have mad a simple POC that checks if a person has used "de" or "dem" correctly (Swedish equivalent of "they/them"). "They" is the subject, and "them" is the object. We can use dependency parsing to get the grammatical structure of a sentence, and then verify it using a set of rules.

"They were mean to they" -> "They were mean to them"
"De var elaka mot de" -> "De var elaka mot dem"

Image Image Image Image

It seems iOS and Android does not have built in support for dependency parsing.

Contribution

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions