public class Data extends Object
| Modifier and Type | Field and Description |
|---|---|
static Counter<String> |
domainNGramRawFreq |
static String |
domainNGramsFile |
static Counter<String> |
googleNGram |
static String |
googleNGramsFile |
static Counter<String> |
processedDataFreq |
static double |
ratioDomainNgramFreqWithDataFreq |
static double |
ratioGoogleNgramFreqWithDataFreq |
static Counter<String> |
rawFreq |
static Map<String,List<CoreLabel>> |
sents |
static List<File> |
sentsFiles |
| Constructor and Description |
|---|
Data() |
| Modifier and Type | Method and Description |
|---|---|
static void |
computeRawFreqIfNull(Map<String,List<CoreLabel>> sents,
int numWordsCompound) |
static void |
loadDomainNGrams() |
static void |
loadGoogleNGrams() |
static void |
setRatioGoogleNgramFreqWithDataFreq() |
public static double ratioDomainNgramFreqWithDataFreq
public static double ratioGoogleNgramFreqWithDataFreq
@Execution.Option(name="googleNGramsFile") public static String googleNGramsFile
@Execution.Option(name="domainNGramsFile") public static String domainNGramsFile
public static void computeRawFreqIfNull(Map<String,List<CoreLabel>> sents, int numWordsCompound)
public static void setRatioGoogleNgramFreqWithDataFreq()
public static void loadGoogleNGrams()
public static void loadDomainNGrams()