Util
Class BoostChecker
java.lang.Object
Util.BoostChecker
public class BoostChecker
- extends java.lang.Object
Check if a word should be boosted for this category
- Author:
- davidc
|
Method Summary |
static boolean |
isBoosted(int cat,
java.lang.String featureString)
|
static boolean |
isBoosted(int cat,
Term word)
|
static boolean |
isBoostedUnfixed(int cat,
java.lang.String featureString)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoostChecker
public BoostChecker()
isBoosted
public static boolean isBoosted(int cat,
java.lang.String featureString)
- Parameters:
cat - featureString - fix word if needed before calling this
- Returns:
isBoostedUnfixed
public static boolean isBoostedUnfixed(int cat,
java.lang.String featureString)
- Parameters:
cat - featureString -
- Returns:
isBoosted
public static boolean isBoosted(int cat,
Term word)