/// <exception cref="System.TypeLoadException"/> /// <exception cref="System.IO.IOException"/> public HybridCorefMentionFinder(IHeadFinder headFinder, Properties props) { this.headFinder = headFinder; this.lang = CorefProperties.GetLanguage(props); mdClassifier = (CorefProperties.IsMentionDetectionTraining(props)) ? null : IOUtils.ReadObjectFromURLOrClasspathOrFileSystem(CorefProperties.GetMentionDetectionModel(props)); }