public CorefSystem(DocumentMaker docMaker, ICorefAlgorithm corefAlgorithm, bool removeSingletonClusters, bool verbose)
 {
     this.docMaker                = docMaker;
     this.corefAlgorithm          = corefAlgorithm;
     this.removeSingletonClusters = removeSingletonClusters;
     this.verbose = verbose;
 }
 public CorefSystem(Properties props)
 {
     try
     {
         Dictionaries dictionaries = new Dictionaries(props);
         docMaker                = new DocumentMaker(props, dictionaries);
         corefAlgorithm          = ICorefAlgorithm.FromProps(props, dictionaries);
         removeSingletonClusters = CorefProperties.RemoveSingletonClusters(props);
         verbose = CorefProperties.Verbose(props);
     }
     catch (Exception e)
     {
         throw new Exception("Error initializing coref system", e);
     }
 }