Package org.timedex.extraction

Examples of org.timedex.extraction.DateAndSentenceTuple


  }
 
  private void writeEventsToDatabaseHelper(Heading root, Stack<String> headingStack, DateExtractor extractor, int rank) {
    headingStack.push(root.getTitle());
    for(String sentence : root.getSentences()) {
      DateAndSentenceTuple c = extractor.extractDate(sentence);
      if(c != null) {
        writeEvent(c, root.getPage(), headingStack, rank);
      }
    }
    for(Heading h : root.getSubheadings()) {
View Full Code Here

TOP

Related Classes of org.timedex.extraction.DateAndSentenceTuple

Copyright © 2018 www.massapicom. 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.