Examples of addToIndexes()


Examples of org.cleartk.timeml.type.Time.addToIndexes()

  public void process(JCas jCas) throws AnalysisEngineProcessException {
    for(TimeMention timex : JCasUtil.select(jCas, TimeMention.class)){
      Time time = new Time(jCas);
      time.setBegin(timex.getBegin());
      time.setEnd(timex.getEnd());
      time.addToIndexes();
    }
  }
 
  public static AnalysisEngineDescription getAnnotatorDescription()
      throws ResourceInitializationException {
View Full Code Here

Examples of org.dbpedia.spotlight.uima.types.JCasResource.addToIndexes()

            res.setSimilarityScore(new Double(resource.getSimilarityScore()));
            res.setTypes(resource.getTypes());
            res.setSupport(new Integer(resource.getSupport()));
            res.setURI(resource.getURI());

            res.addToIndexes(aJCas);
          }

          documentOffset += request.length() + 1 ;

    }
View Full Code Here

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
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.