Class PostSegmentationCodeSimplifierStep

  • All Implemented Interfaces:
    IPipelineStep

    public class PostSegmentationCodeSimplifierStep
    extends BasePipelineStep
    Simplify inline codes by merging adjacent codes (where safe) and trimming start and end codes.

    WARNING: An error will be thrown if the TextUnits have not been segmented. This step must be run post-segmentation as trimmed codes are moved to inter-segment TextParts. TextParts will be created if needed.