|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.pipe.Pipe cc.mallet.pipe.TokenSequence2FeatureSequenceWithBigrams
public class TokenSequence2FeatureSequenceWithBigrams
Convert the token sequence in the data field of each instance to a feature sequence that preserves bigram information.
Constructor Summary | |
---|---|
TokenSequence2FeatureSequenceWithBigrams()
|
|
TokenSequence2FeatureSequenceWithBigrams(Alphabet dataDict)
|
|
TokenSequence2FeatureSequenceWithBigrams(Alphabet dataDict,
Alphabet bigramAlphabet)
|
Method Summary | |
---|---|
Alphabet |
getBigramAlphabet()
|
Instance |
pipe(Instance carrier)
Really this should be 'protected', but isn't for historical reasons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenSequence2FeatureSequenceWithBigrams(Alphabet dataDict, Alphabet bigramAlphabet)
public TokenSequence2FeatureSequenceWithBigrams(Alphabet dataDict)
public TokenSequence2FeatureSequenceWithBigrams()
Method Detail |
---|
public Alphabet getBigramAlphabet()
public Instance pipe(Instance carrier)
Pipe
pipe
in class Pipe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |