The precision of the patterns obtained from one QA-pair example in algorithm 1 is calculated from the documents obtained in algorithm 2 for other examples of the same question type.
the precision scores are calculated by cross-checking the patterns across various examples of the same type.