Commit f56688b5 authored by Shyam Upadhyay's avatar Shyam Upadhyay
Browse files

saving

parent adff4742
...@@ -20,6 +20,7 @@ public class LinkingWorker implements Runnable{ ...@@ -20,6 +20,7 @@ public class LinkingWorker implements Runnable{
private String outputdir; private String outputdir;
private int K; private int K;
public LinkingWorker(List<String> md5hashes, String outputdir, EventLinker linker, int K) { public LinkingWorker(List<String> md5hashes, String outputdir, EventLinker linker, int K) {
System.out.println("SIZE OF WORK: "+md5hashes.size());
this.md5hashes = md5hashes; this.md5hashes = md5hashes;
this.linker = linker; this.linker = linker;
this.outputdir=outputdir; this.outputdir=outputdir;
......
package edu.illinois.cs.cogcomp.wiki.parsing.indexing.citation.eventlinking.linkers; package edu.illinois.cs.cogcomp.wiki.parsing.indexing.citation.eventlinking.linkers;
import java.util.AbstractCollection; import java.util.AbstractCollection;
import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
...@@ -12,7 +13,7 @@ import javax.xml.bind.annotation.XmlRootElement; ...@@ -12,7 +13,7 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public class PredictionCollection extends AbstractCollection<Prediction>{ public class PredictionCollection extends AbstractCollection<Prediction>{
public List<Prediction> preds; public List<Prediction> preds = new ArrayList<>();
public PredictionCollection() public PredictionCollection()
{ {
...@@ -24,7 +25,6 @@ public class PredictionCollection extends AbstractCollection<Prediction>{ ...@@ -24,7 +25,6 @@ public class PredictionCollection extends AbstractCollection<Prediction>{
@Override @Override
public Iterator<Prediction> iterator() { public Iterator<Prediction> iterator() {
// TODO Auto-generated method stub
return preds.iterator(); return preds.iterator();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment