Class ResultsPrinter

    • Constructor Detail

      • ResultsPrinter

        public ResultsPrinter()
    • Method Detail

      • printResults

        public String printResults​(CoreMap goldStandard,
                                   CoreMap extractorOutput)
        Given a set of sentences with annotations from an information extractor class, and the same sentences with gold-standard annotations, print results on how the information extraction performed.
      • align

        public static void align​(List<CoreMap> list1,
                                 List<CoreMap> list2)
        If the same set of sentences is contained in two lists, order the lists so that their sentences are in the same order (and return true). Return false if the lists don't contain the same set of sentences.