I want to train a neural network to detect if a sentence is grammatically correct. For example, I am testing an algorithm would return true, while
I am testing an algorithm
true