Util
Class BoostChecker

java.lang.Object
  extended by Util.BoostChecker

public class BoostChecker
extends java.lang.Object

Check if a word should be boosted for this category

Author:
davidc

Constructor Summary
BoostChecker()
           
 
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
 

Constructor Detail

BoostChecker

public BoostChecker()
Method Detail

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)