int ref = getRefId(aType, aFs, aUnit); if(ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit))!=null && ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)).equals(false)){ ref = 0; if(ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit))== null && ambigUnits.get(aType.getName()).get(aUnit).equals(false)){ ref = 0; Type tType = targetFs.getType(); AnnotationUnit firstUnit = getFirstUnit(targetFs); ref = getRefId(tType, targetFs, firstUnit);
int ref = getRefId(aType, aFs, aUnit); if (ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)) != null && ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)).equals(false)) { ref = 0; if (ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)) == null && ambigUnits.get(aType.getName()).get(aUnit).equals(false)) { ref = 0; Type tType = targetFs.getType(); AnnotationUnit firstUnit = getFirstUnit(targetFs); ref = getRefId(tType, targetFs, firstUnit);
int ref = getRefId(aType, aFs, aUnit); if (ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)) != null && ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)).equals(false)) { ref = 0; if (ambigUnits.get(aType.getName()).get(getFirstUnit(aUnit)) == null && ambigUnits.get(aType.getName()).get(aUnit).equals(false)) { ref = 0; Type tType = targetFs.getType(); AnnotationUnit firstUnit = getFirstUnit(targetFs); ref = getRefId(tType, targetFs, firstUnit);
ambigUnits.putIfAbsent(type.getName(), new HashMap<>()); for (AnnotationFS fs : CasUtil.select(aJCas.getCas(), type)) { AnnotationUnit unit = getFirstUnit(fs);
ambigUnits.putIfAbsent(type.getName(), new HashMap<>()); for (AnnotationFS fs : CasUtil.select(aJCas.getCas(), type)) { AnnotationUnit unit = getFirstUnit(fs);
ambigUnits.putIfAbsent(type.getName(), new HashMap<>()); for (AnnotationFS fs : CasUtil.select(aJCas.getCas(), type)) { AnnotationUnit unit = getFirstUnit(fs);
AnnotationUnit govUnit = getFirstUnit( getUnit(govFs.getBegin(), govFs.getEnd(), govFs.getCoveredText())); if(ambigUnits.get(govType.getName()).get(govUnit)==null){ AnnotationUnit depUnit = getFirstUnit( getUnit(depFs.getBegin(), depFs.getEnd(), depFs.getCoveredText())); if(ambigUnits.get(govType.getName()).get(depUnit)==null){
AnnotationUnit govUnit = getFirstUnit( getUnit(govFs.getBegin(), govFs.getEnd(), govFs.getCoveredText())); if (ambigUnits.get(govType.getName()).get(govUnit) == null) { AnnotationUnit depUnit = getFirstUnit( getUnit(depFs.getBegin(), depFs.getEnd(), depFs.getCoveredText())); if (ambigUnits.get(govType.getName()).get(depUnit) == null) {
AnnotationUnit govUnit = getFirstUnit( getUnit(govFs.getBegin(), govFs.getEnd(), govFs.getCoveredText())); if (ambigUnits.get(govType.getName()).get(govUnit) == null) { AnnotationUnit depUnit = getFirstUnit( getUnit(depFs.getBegin(), depFs.getEnd(), depFs.getCoveredText())); if (ambigUnits.get(govType.getName()).get(depUnit) == null) {