Class HeuristicSentenceAlignerStep

  • All Implemented Interfaces:
    AutoCloseable, Function<Stream<net.sf.okapi.common.Event>,​Stream<net.sf.okapi.common.Event>>, net.sf.okapi.common.pipeline.IPipelineStep

    public class HeuristicSentenceAlignerStep
    extends BaseAlignerStep
    Final, production-ready heuristic sentence aligner. Supports M:N paragraph matching with sophisticated heuristics.
    • Constructor Detail

      • HeuristicSentenceAlignerStep

        public HeuristicSentenceAlignerStep​(net.sf.okapi.common.filters.IFilter targetFilter)
    • Method Detail

      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getParameters

        public HeuristicSentenceAlignerParameters getParameters()
        Description copied from class: BaseAlignerStep
        Get the parameters object for this aligner. Must return a parameters class that implements the required parameter methods.
        Specified by:
        getParameters in interface net.sf.okapi.common.pipeline.IPipelineStep
        Specified by:
        getParameters in class BaseAlignerStep
      • setParameters

        public void setParameters​(net.sf.okapi.common.IParameters params)
        Specified by:
        setParameters in interface net.sf.okapi.common.pipeline.IPipelineStep
        Overrides:
        setParameters in class net.sf.okapi.common.pipeline.BasePipelineStep