Skip to content

StringUtil

Sean Finan edited this page Feb 9, 2026 · 1 revision

final public class StringUtil

Some simple String processes are performed so frequently in nlp that it is good to have methods available that are faster than those in the jdk.

  • Author: SPF , chip-nlp
  • Version: %I%
  • Since: 5/16/2017

static public String[] fastSplit( final String line, final char c )

Splits a string using a character. Faster than String.split( regex )

  • Parameters:
    • line full text to split
    • c character at which to split
  • Returns: array of substrings or the original line if there are no characters c

Apache cTAKES

ctakes-core API

Python API

ctakes-core

patient
    AbstractPatientConsumer
    AbstractPatientFileWriter
    PatientNoteCollector
    PatientNoteStore
    PatientViewUtil
pipeline
    PipeBitLocator
    PipelineBuilder
    PiperFileReader
    PiperFileRunner
resource
    FileLocator
util
    CalendarUtil
    MutableUimaContext
    NumberedSuffixComparator
    Pair
    RelationArgumentUtil
    StringUtil
     annotation
         ConceptBuilder
         EssentialAnnotationUtil
         IdentifiedAnnotationBuilder
         IdentifiedAnnotationUtil
         OntologyConceptUtil
         SemanticGroup
         SemanticTui
     doc
         DocIdUtil
         JCasBuilder
         TextBySectionBuilder
         TextBySentenceBuilder
     log
         DotLogger
         FinishedLogger
     regex
         RegexSpanFinder
         TimeoutMatcher
     textspan
         DefaultAspanComparator
         DefaultTextSpanComparator
         DefaultTextSpan
         TextSpan



General

Clone this wiki locally