Class IdBasedAlignerStep

  • All Implemented Interfaces:
    AutoCloseable, Function<Stream<Event>,​Stream<Event>>, IPipelineStep

    public class IdBasedAlignerStep
    extends BasePipelineStep
    Align two TextUnits based on matching ids. The ids are taken from the name (TextUnit#getName) or id (TextUnit#getId) of each TextUnit, depending on configuration. Any IFilter that produces a name for its TextUnits will work with this aligner. Expects filtered Events as input and returns a new (aligned) bi-lingual TextUnit Event. Optionally produce a TMX file in the specified output path.
    Author:
    Greg Perkins, HargraveJE