Precision is calculated on the level of a set of candidates where each set containing the right word is considered correct and the set not containing the correct word as incorrect.
text samples produced in a digital form can be identified in the corpus as they are marked as such and can be analyzed separately.