Class AnnotationAdderConfiguration


  • public class AnnotationAdderConfiguration
    extends Object
    • Constructor Detail

      • AnnotationAdderConfiguration

        public AnnotationAdderConfiguration()
    • Method Detail

      • isSplitTokensAtWhitespace

        public boolean isSplitTokensAtWhitespace()
      • setSplitTokensAtWhitespace

        public void setSplitTokensAtWhitespace​(boolean splitTokensAtWhitespace)

        Useful for results of external programs that interpret all whitespaces as token boundaries. Sets whether or not to split the CAS tokens at whitespaces for the sake of token-offset calculation. This does not mean that the tokenization in the CAS is changed. It is just a measure to adapt to external annotation results that work with token offsets

        Parameters:
        splitTokensAtWhitespace -
      • getDefaultUimaType

        public String getDefaultUimaType()
      • setDefaultUimaType

        public void setDefaultUimaType​(String defaultUimaType)