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

Examples of uk.ac.ucl.panda.utility.structure.TermPositions


    /**
     * 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());
      i--;

    }

    // ////////
View Full Code Here

TOP

Related Classes of uk.ac.ucl.panda.utility.structure.TermPositions

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.