Package uk.ac.ucl.panda.utility.structure

Examples of uk.ac.ucl.panda.utility.structure.TermPositions.skipTo()


     * UCL Proof Scan
     */

    // positions
    TermPositions termPos = reader.termPositions(term);
    termPos.skipTo(doc);
    int pos = 0;
    int i = termPos.freq();
    while (termPos.doc() == doc && i > 0) {
      System.out.println("docno: " + doc + " pos: "
          + termPos.nextPosition());
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.