public class HybridCorefSystem extends java.lang.Object implements CorefAlgorithm
Modifier and Type | Field and Description |
---|---|
Dictionaries |
dictionaries |
DocumentMaker |
docMaker |
java.util.Properties |
props |
java.util.List<Sieve> |
sieves |
Constructor and Description |
---|
HybridCorefSystem(java.util.Properties props) |
HybridCorefSystem(java.util.Properties props,
Dictionaries dictionaries) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,CorefChain> |
coref(Annotation anno)
main entry of coreference system.
|
java.util.Map<java.lang.Integer,CorefChain> |
coref(Document document)
main entry of coreference system.
|
java.util.Map<java.lang.Integer,CorefChain> |
coref(Document document,
java.lang.StringBuilder[] output)
main entry of coreference system.
|
Dictionaries |
dictionaries() |
static void |
main(java.lang.String[] args) |
void |
runCoref(Document document) |
static void |
runCoref(java.util.Properties props) |
static void |
runCoref(java.lang.String[] args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromProps
public java.util.Properties props
public java.util.List<Sieve> sieves
public Dictionaries dictionaries
public DocumentMaker docMaker
public HybridCorefSystem(java.util.Properties props, Dictionaries dictionaries) throws java.lang.Exception
java.lang.Exception
public HybridCorefSystem(java.util.Properties props) throws java.lang.Exception
java.lang.Exception
public Dictionaries dictionaries()
public static void runCoref(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void runCoref(java.util.Properties props) throws java.lang.Exception
java.lang.Exception
public void runCoref(Document document)
runCoref
in interface CorefAlgorithm
public java.util.Map<java.lang.Integer,CorefChain> coref(Document document, java.lang.StringBuilder[] output) throws java.lang.Exception
document
- Input document for coref format (Annotation and optional information)output
- For output of coref system (conll format and log. list size should be 4.)java.lang.Exception
public java.util.Map<java.lang.Integer,CorefChain> coref(Document document) throws java.lang.Exception
document
- Input document for coref format (Annotation and optional information)java.lang.Exception
public java.util.Map<java.lang.Integer,CorefChain> coref(Annotation anno) throws java.lang.Exception
anno
- Input annotation.java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception