String s = OntologyTerms.idsForTerm(StringTools.normaliseName(surface));
if(s != null && s.length() > 0) {
if(ontIds == null) ontIds = new HashSet<String>();
ontIds.addAll(StringTools.arrayToList(s.split("\\s+")));
}
ne.addOntIds(ontIds);
//System.out.println(surface + "\t" + ontIds);
}
if(a.type.startsWith("CUST")) {
//System.out.println(runAutToStateToOntIds.get(a.type));
Set<String> custTypes = runAutToStateToOntIds.get(a.type).get(a.state);