Package org.timedex.extraction

Examples of org.timedex.extraction.Heading


        for(Page p: result) {
          PageText pt = ptDAO.findByPage(p);
          int linksIn = pageLinkDAO.findLinkCountInByPage(p);
          //System.out.println(++count + ": Extracting dates from page " + p.getId());
          if(pt != null) {
            Heading root = PageToHeadingTree.getHierarchyFromPageText(pt, p);
            //printHeading(root, "");
            writeEventsToDatabase(root, linksIn);
          } else {
            logger.warn("PageText is null for page id: " + p.getId());
            // Silently ignore errors reading, for now
View Full Code Here

TOP

Related Classes of org.timedex.extraction.Heading

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.