|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ciranda.utils.CirandaUtils
Nested Class Summary | |
static class |
CirandaUtils.unigramFE
|
Constructor Summary | |
CirandaUtils()
|
Method Summary | |
static Instance |
addingInstances(Instance target,
Instance source)
Adds one instance to another. |
static Instance |
extract1g2g3g4g5g(java.lang.String str,
boolean uni,
boolean bi,
boolean tri,
boolean four,
boolean five)
|
static MutableInstance |
extractBigrams(java.lang.String str)
Extracts all Bigrams from String TBD |
static MutableInstance |
extractFivegrams(java.lang.String str)
Extracts all Fivegrams from String |
static MutableInstance |
extractFourgrams(java.lang.String str)
Extracts all Fourgrams from String |
static MutableInstance |
extractTrigrams(java.lang.String str)
Extracts all Trigrams from String TBD |
static MutableInstance |
extractUnigrams(java.lang.String str)
Extracts all unigrams from String TBD |
static java.lang.String |
getBody(java.lang.String str)
returns only lines of msgs between tags. |
static boolean |
hasBodyTag(java.lang.String str)
|
static void |
main(java.lang.String[] args)
|
static java.lang.String |
removeFWDparts(java.lang.String str)
|
static java.lang.String |
removeQuotes(java.lang.String str)
Removes quotes from an email message TBD: needs to use the trained classifiers TBD |
static MutableInstance |
renameFeatures(MutableInstance src,
java.lang.String prefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CirandaUtils()
Method Detail |
public static Instance addingInstances(Instance target, Instance source)
public static java.lang.String getBody(java.lang.String str)
public static boolean hasBodyTag(java.lang.String str)
public static java.lang.String removeQuotes(java.lang.String str)
public static MutableInstance extractUnigrams(java.lang.String str)
public static MutableInstance extractBigrams(java.lang.String str)
public static MutableInstance extractTrigrams(java.lang.String str)
public static MutableInstance extractFourgrams(java.lang.String str)
public static MutableInstance extractFivegrams(java.lang.String str)
public static MutableInstance renameFeatures(MutableInstance src, java.lang.String prefix)
public static java.lang.String removeFWDparts(java.lang.String str)
public static Instance extract1g2g3g4g5g(java.lang.String str, boolean uni, boolean bi, boolean tri, boolean four, boolean five)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |