How do I check Grammar?

Hi all,
Is there any way in which we can check the grammar of the sentence when a person types a sentence in a textbox?

There are several ways of doing that.

You can use any API that does it. There are many possibilities in Python however to do it using several kinds of libraries that can connect to API/Web.

You can try to list things down and follow the English Grammar rules to check the overall score.

You might be able to use a grammar api. Here are some examples, some free, some for subscription

Can they be used with App Inventor? ?? go ahead and try. :slight_smile:

1 Like

This May Help You

1 Like

I am currently seeing this website, It can be usefull

Can I do it without using an API?

I think may be no

  1. Theoretically you could use a set of grammar rules in a decision tree using conditional statements and check the text from your TextBox to see whether it follows the rules. Is this practical? No. Doing this is probably way to complex and would be very slow if you have lots of grammar 'rules' to scan.

  2. Google docs has a grammar/spell checker. If you can export the TextBox text to google docs, you can check the grammar in that software possibly.

1 Like

no but if somebody makes a extension based on the api it might be possible btw its grammar not grammer

The text field in appinventor has the auto correct flag turned on by default and underlines the words with errors in red.

Are you talking about extension?

No. Built-in android function:

Works with your language and only while typing. The pasted text will not improve.