edu.stanford.nlp.pipeline.Annotation



API Populatity

1 Client projects

Project: edu.stanford

Package: edu.stanford.nlp

Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.ie.NERClassifierCombiner.java (2014-06-10)
@@ -7,6 +7,7 @@ import java.util.Properties;
 import edu.stanford.nlp.ie.regexp.NumberSequenceClassifier;
 import edu.stanford.nlp.ling.CoreLabel;
 import edu.stanford.nlp.ling.CoreAnnotations;
+import edu.stanford.nlp.pipeline.Annotation;
 import edu.stanford.nlp.util.CoreMap;
 import edu.stanford.nlp.util.PropertiesUtils;
 import edu.stanford.nlp.util.StringUtils;
@@ -166,5 +167,9 @@ public class NERClassifierCombiner extends ClassifierCombiner<CoreLabel> {
 
     }
   }
+
+  public void finalizeAnnotation(Annotation annotation) {
+    nsc.finalizeClassification(annotation);
+  }
 }
 
Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.ie.NERClassifierCombiner.java (2013-08-19)
@@ -7,7 +7,6 @@ import java.util.Properties;
 import edu.stanford.nlp.ie.regexp.NumberSequenceClassifier;
 import edu.stanford.nlp.ling.CoreLabel;
 import edu.stanford.nlp.ling.CoreAnnotations;
-import edu.stanford.nlp.pipeline.Annotation;
 import edu.stanford.nlp.util.CoreMap;
 import edu.stanford.nlp.util.PropertiesUtils;
 import edu.stanford.nlp.util.StringUtils;
@@ -167,9 +166,5 @@ public class NERClassifierCombiner extends ClassifierCombiner<CoreLabel> {
 
     }
   }
-
-  public void finalizeAnnotation(Annotation annotation) {
-    nsc.finalizeClassification(annotation);
-  }
 }
 
Project stanfordnlp/CoreNLP in file ...src.edu.stanford.nlp.ie.NERClassifierCombiner.java (2014-06-10)
@@ -7,7 +7,6 @@ import java.util.Properties;
 import edu.stanford.nlp.ie.regexp.NumberSequenceClassifier;
 import edu.stanford.nlp.ling.CoreLabel;
 import edu.stanford.nlp.ling.CoreAnnotations;
-import edu.stanford.nlp.pipeline.Annotation;
 import edu.stanford.nlp.util.CoreMap;
 import edu.stanford.nlp.util.PropertiesUtils;
 import edu.stanford.nlp.util.StringUtils;
@@ -167,9 +166,5 @@ public class NERClassifierCombiner extends ClassifierCombiner<CoreLabel> {
 
     }
   }
-
-  public void finalizeAnnotation(Annotation annotation) {
-    nsc.finalizeClassification(annotation);
-  }
 }