this.dataFactory = dataFactory;
this.rootOntology = rootOntology;
}
public Set<OntologyAxiomPair> parse(String syntax) throws ParserException {
ManchesterOWLSyntaxFramesParser parser = new ManchesterOWLSyntaxFramesParser(dataFactory, entityChecker);
parser.setOWLOntologyChecker(ontologyChecker);
parser.setDefaultOntology(rootOntology);
return parser.parse(syntax);
}