public RelationExtractorAnnotator(Properties props){
verbose = Boolean.parseBoolean(props.getProperty("sup.relation.verbose", "false"));
String relationModel = props.getProperty("sup.relation.model", DefaultPaths.DEFAULT_SUP_RELATION_EX_RELATION_MODEL);
try {
Extractor entityExtractor = new RothEntityExtractor();
BasicRelationExtractor relationExtractor = BasicRelationExtractor.load(relationModel);
System.err.println("Loading relation model from " + relationModel);
mr = MachineReading.makeMachineReadingForAnnotation(new RothCONLL04Reader(), entityExtractor, relationExtractor, null, null,
null, true, verbose);