default: return 1; // DUR and LF0
}
}
public void loadTreeSet(HMMData htsData, FeatureDefinition featureDef, PhoneTranslator trickyPhones)
throws IOException, MaryConfigurationException {
<BUG>PhoneTranslator phTranslator = trickyPhones;
if(htsData.getTreeDurStream() != null) {</BUG>
logger.debug("Loading duration tree...");
durTree = htsReader.load(1, htsData.getTreeDurStream(), htsData.getPdfDurStream(), PdfFileFormat.dur, featureDef, phTranslator);
numStates = htsReader.getVectorSize();

default: return 1; // DUR and LF0
}
}
public void loadTreeSet(HMMData htsData, FeatureDefinition featureDef, PhoneTranslator trickyPhones)
throws IOException, MaryConfigurationException {
PhoneTranslator phTranslator = trickyPhones;
HTSCARTReader htsReader = new HTSCARTReader();
if(htsData.getTreeDurStream() != null) {
logger.debug("Loading duration tree...");
durTree = htsReader.load(1, htsData.getTreeDurStream(), htsData.getPdfDurStream(), PdfFileFormat.dur, featureDef, phTranslator);
numStates = htsReader.getVectorSize();
