|
||||||||||
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.CharSequence2CharNGrams
public class CharSequence2CharNGrams
Transform a character sequence into a token sequence of character N grams.
Constructor Summary | |
---|---|
CharSequence2CharNGrams(int n,
boolean distinguishBorders)
|
Method Summary | |
---|---|
protected java.lang.String[] |
ngramify(java.lang.CharSequence s)
|
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 CharSequence2CharNGrams(int n, boolean distinguishBorders)
Method Detail |
---|
protected java.lang.String[] ngramify(java.lang.CharSequence s)
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 |