grammatical inference
Inferring the grammar of a language, given a set of sentences labeled "grammatically correct", and a second (optional) set labelled "grammatically incorrect".
grammatical inference is part of the Computational Linguistics editor test terminology.