public class FastNeuralCorefDataExporter extends java.lang.Object implements CorefDocumentProcessor
Constructor and Description |
---|
FastNeuralCorefDataExporter(java.util.Properties props,
Dictionaries dictionaries,
Compressor<java.lang.String> compressor,
java.lang.String dataPath,
java.lang.String goldClusterPath) |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
java.lang.String |
getName() |
static void |
main(java.lang.String[] args) |
void |
process(int id,
Document document) |
static void |
writeCompressor(Compressor<java.lang.String> compressor,
java.lang.String compressorPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run, run, runFromScratch
public FastNeuralCorefDataExporter(java.util.Properties props, Dictionaries dictionaries, Compressor<java.lang.String> compressor, java.lang.String dataPath, java.lang.String goldClusterPath)
public void process(int id, Document document)
process
in interface CorefDocumentProcessor
public void finish() throws java.lang.Exception
finish
in interface CorefDocumentProcessor
java.lang.Exception
public java.lang.String getName()
getName
in interface CorefDocumentProcessor
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void writeCompressor(Compressor<java.lang.String> compressor, java.lang.String compressorPath)