Utility components for Apache UIMA
uima-util is licensed under the Apache License 2.0 and is available via Maven Central. If you use Maven for your build environment, then you can add uima-util as a dependency to your pom.xml file with the following:
<dependency>
<groupId>de.unistuttgart.ims</groupId>
<artifactId>uima-util</artifactId>
<version>0.6.3</version>
</dependency>
ClearAnnotation
: Removes all annotations of a given typeMapAnnotations
: Creates new annotations with the same span as existing annotations, optionally deleting the existing onesSetDocumentId
: Sets the document idSetJCasLanguage
: Sets the document languageWindowAnnotator
: Adds an annotation overn
base annotations (e.g., tokens)WordListTagger
: Tags all occurrences of words provided in a listWordTagger
: Tag all occurrences of a single stringNGramTagger
: Tags all occurrences of a list of n-gramsConvertBoundaryToSegmentAnnotation
: Converts boundary annotation to segment annotationConvertSegmentToBoundaryAnnotation
: Vice versaAnnotationUtil
trim()
: Various methods to trim annotations (removing whitespace at the front and end).
WindowAnnotator
: Creates arbitrary annotations in UIMA documents, based on the length (measured in arbitrary annotation types) of the windows.FixedNumberWindowAnnotator
: Creates arbitrary annotations, distributed uniformly over all base annotations (type can be specified)CoNLLStyleExporter
: A component to create configurable CSV-files from annotations. Using a configuration file, it can be specified which features are to be included as columns in the output. You can also include covered annotations (e.g., tokens in a sentence) and select their respective features as well. The feature values of the covering annotation (the sentence) are repeated for every token then.
mvn -DperformRelease=true deploy
to deploy to maven central.mvn clean javadoc:javadoc scm-publish:publish-scm
publish javadoc to github