Examples of inDocnoTag()


Examples of org.terrier.indexing.TRECFullTokenizer.inDocnoTag()

            if (token == null
                || token.length() == 0
                || queryTokenizer.inTagToSkip())
              continue;
           
            if (queryTokenizer.inDocnoTag()) {
              //The tokenizer is constructed from the trimmed version of the contents
              //of the query number tag, so that the last token extracted from it, is
              //always the query number, and not an empty string
              StringTokenizer docnoTokens =
                new StringTokenizer(token.trim(), " ");
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.