Class UIMAUtils


  • public class UIMAUtils
    extends Object
    • Constructor Detail

      • UIMAUtils

        public UIMAUtils()
    • Method Detail

      • hasSameOffset

        public static boolean hasSameOffset​(org.apache.uima.jcas.tcas.Annotation a,
                                            org.apache.uima.jcas.tcas.Annotation b)
        check whether two annotation have exactly the same offset
        Parameters:
        a - annotation 1
        b - annotation 2
        Returns:
        true or false