Class TokenSequence2FeatureSequenceWithBigrams

  • All Implemented Interfaces:

    public class TokenSequence2FeatureSequenceWithBigrams
    extends Pipe
    Convert the token sequence in the data field of each instance to a feature sequence that preserves bigram information.
    Andrew McCallum
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenSequence2FeatureSequenceWithBigrams

        public TokenSequence2FeatureSequenceWithBigrams​(Alphabet dataDict,
                                                        Alphabet bigramAlphabet)
      • TokenSequence2FeatureSequenceWithBigrams

        public TokenSequence2FeatureSequenceWithBigrams​(Alphabet dataDict)
      • TokenSequence2FeatureSequenceWithBigrams

        public TokenSequence2FeatureSequenceWithBigrams()
    • Method Detail

      • getBigramAlphabet

        public Alphabet getBigramAlphabet()
      • pipe

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