public abstract class AbstractPronounResolver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractPronounResolver.TestExample |
Constructor and Description |
---|
AbstractPronounResolver() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.HashMap<java.lang.Integer,java.lang.Integer> |
resolvePronouns(java.util.List<CoreLabel> tokens) |
protected abstract java.util.HashMap<java.lang.Integer,java.lang.Integer> |
resolvePronouns(SemanticGraph sg) |
void |
run(java.lang.String[] args) |
double |
score(AbstractPronounResolver.TestExample gold,
java.util.HashMap<java.lang.Integer,java.lang.Integer> predicted) |
protected abstract java.util.HashMap<java.lang.Integer,java.lang.Integer> resolvePronouns(java.util.List<CoreLabel> tokens)
protected abstract java.util.HashMap<java.lang.Integer,java.lang.Integer> resolvePronouns(SemanticGraph sg)
public double score(AbstractPronounResolver.TestExample gold, java.util.HashMap<java.lang.Integer,java.lang.Integer> predicted)
public void run(java.lang.String[] args) throws java.io.IOException
java.io.IOException