Package bpiwowar.argparser.utils

Examples of bpiwowar.argparser.utils.ReadLineIterator


   * our judgments
   */
  Map<String, Map<String, Integer>> judgments = GenericHelper.newTreeMap();

  public TRECJudgments(Reader in) {
    for (String line : new ReadLineIterator(in)) {
      String[] fields = line.split("\\s+");
      if (fields.length != Fields.values().length)
        throw new RuntimeException(String.format(
            "Non TREC qrels format for line: %s", line));

View Full Code Here

TOP

Related Classes of bpiwowar.argparser.utils.ReadLineIterator

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.