Class Noop

  • All Implemented Interfaces:
    AlphabetCarrying, java.io.Serializable

    public class Noop
    extends Pipe
    implements java.io.Serializable
    A pipe that does nothing to the instance fields but which has side effects on the dictionary.
    Author:
    Andrew McCallum mccallum@cs.umass.edu
    See Also:
    Serialized Form
    • Constructor Detail

      • Noop

        public Noop()
      • Noop

        public Noop​(Alphabet dataDict,
                    Alphabet targetDict)
        Pass through input without change, but force the creation of Alphabet's, so it can be shared by future DictionariedPipe's. You might want to use this before ParallelPipes where the previous pipes do not need dictionaries, but later steps in each parallel path do, and they all must share the same dictionary.
    • Method Detail

      • pipe

        public Instance pipe​(Instance carrier)
        Description copied from class: Pipe
        Really this should be 'protected', but isn't for historical reasons.
        Overrides:
        pipe in class Pipe