1. A computer-implemented method of constructing a grammar comprising: selecting a digital text sample to annotate using an annotation module; transforming the text sample into a set of annotation candidates using the annotation module; scoring the set of annotation candidates using a classifier of a classification module in order to obtain a set of annotation scores respectively for the set of annotation candidates; selecting, using the annotation module, one of the annotation candidates in the set of annotation candidates as a suggested annotation for the text sample based on the set of annotation scores; deriving an annotation-derived grammar rule based on the suggested annotation using a grammar construction module; and configuring a digital grammar to include the annotation-derived grammar rule using the grammar construction module.