Package org.mitre.medfacts.types

Examples of org.mitre.medfacts.types.Concept.addToIndexes()


      // annotation if the conceptType was not null)
      if (conceptType != null)
      {
        concept.setConceptType(conceptType.toString());
      }
      concept.addToIndexes();

      //logger.info("finished adding new Concept annotation. " + concept);

    }
    //logger.info("    after iterating over named entities.");
View Full Code Here


        assertionEnd.setLine(a.getEnd().getLine());
        assertionEnd.setTokenOffset(a.getEnd().getTokenOffset());
        assertion.setBegin(converter.convert(assertionStart).getBegin());
        assertion.setEnd(converter.convert(assertionEnd).getEnd() + 1);
        assertion.setConceptType("PROBLEM");
        assertion.addToIndexes();
      }
      writeXmi(cas,outFile);
    }
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.