|
||||||||||
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.TokenSequenceRemoveNonAlpha
public class TokenSequenceRemoveNonAlpha
Remove tokens that contain non-alphabetic characters. This class is used in conjunction wtih CharSequenceLexer.LEX_NON_WHITESPACE_CLASSES and FeatureSequenceWithBigrams, which in turn is used by TopicalNGrams.
Constructor Summary | |
---|---|
TokenSequenceRemoveNonAlpha()
|
|
TokenSequenceRemoveNonAlpha(boolean markDeletions)
|
Method Summary | |
---|---|
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 TokenSequenceRemoveNonAlpha(boolean markDeletions)
public TokenSequenceRemoveNonAlpha()
Method Detail |
---|
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 |