Skip to content

TextBySectionBuilder

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

final public class TextBySectionBuilder

Builds a new cas or populates an existing jcas with sections, their names and text.

  • Author: SPF , chip-nlp
  • Version: %I%
  • Since: 9/22/2019

public TextBySectionBuilder addSection( final String name, final String text )

  • Parameters:
    • name name of the section. This will be placed in the text and used to create an id: name_#
    • text text content of the section.
  • Returns: this builder.

public JCas build() throws UIMAException

  • Returns: a jcas created from scratch and populated with the sections added in this builder.
  • Exceptions:
    • UIMAException is the fresh jcas cannot be created.

public JCas populate( final JCas jCas )

  • Parameters:
    • jCas ye olde ...
  • Returns: the given jcas populated with the sections added in this builder.

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