added the code to evaluate the semantic models based on precision and recall.