else if(key.stringAt(0).equals(BayesConstants.DOCUMENT_FREQUENCY))
return "trainer-termDocCount/" + name;
}
else if(key.length() == 2)
{
if(key.stringAt(0).equals(BayesConstants.FEATURE_COUNT))
return "trainer-featureCount/" + name;
else if(key.stringAt(0).equals(BayesConstants.LABEL_COUNT))
return "trainer-docCount/" + name;
}
throw new RuntimeException("Unrecognized Tuple: " + key);