示例#1
0
 public InputDoc(Annotation anno, IDictionary <string, string> docInfo, IList <IList <Mention> > goldMentions, CoNLLDocumentReader.CoNLLDocument conllDoc)
 {
     this.annotation   = anno;
     this.docInfo      = docInfo;
     this.goldMentions = goldMentions;
     this.conllDoc     = conllDoc;
 }
 public Document(InputDoc input, IList <IList <Mention> > mentions)
     : this()
 {
     this.annotation        = input.annotation;
     this.predictedMentions = mentions;
     this.goldMentions      = input.goldMentions;
     this.docInfo           = input.docInfo;
     this.numSentences      = input.annotation.Get(typeof(CoreAnnotations.SentencesAnnotation)).Count;
     this.conllDoc          = input.conllDoc;
 }