Class SourceLocation2TokenSequence

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

    public class SourceLocation2TokenSequence
    extends Pipe
    implements java.io.Serializable
    Read from File or BufferedRead in the data field and produce a TokenSequence.
    Author:
    Andrew McCallum mccallum@cs.umass.edu
    See Also:
    Serialized Form
    • Constructor Detail

      • SourceLocation2TokenSequence

        public SourceLocation2TokenSequence​(CharSequenceLexer lexer)
    • 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
      • pipe

        public TokenSequence pipe​(java.io.File file)
                           throws java.io.FileNotFoundException,
                                  java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • pipe

        public TokenSequence pipe​(java.io.BufferedReader br)
                           throws java.io.IOException
        Throws:
        java.io.IOException