[ https://issues.apache.org/jira/browse/UIMA-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17008994#comment-17008994 ]
Marshall Schor commented on UIMA-6152: -------------------------------------- A major choice-point could be find/use other Java package for string manipulation methods, instead, with some minimal integration? For example, google guava (apache 2 license)? > "trim" method for AnnotationFS > ------------------------------ > > Key: UIMA-6152 > URL: https://issues.apache.org/jira/browse/UIMA-6152 > Project: UIMA > Issue Type: New Feature > Components: UIMA > Reporter: Richard Eckart de Castilho > Priority: Minor > > Usually leading or trailing whitespace is not helpful in text annotations. > Thus, it would be nice to have a `trim()` convenience method on AnnotationFS > which increases/decreases begin/end such that leading/trailing whitespace is > removed from the annotation. -- This message was sent by Atlassian Jira (v8.3.4#803005)