public class HNMFeatureFileReader extends Object
Constructor and Description |
---|
HNMFeatureFileReader(String fileName)
Create a feature file reader from the given HNM feature file
|
Modifier and Type | Method and Description |
---|---|
HntmSpeechSignal |
getHntmSpeechSignal(int unitnumber)
get HntmSpeechSignal for a unit index
|
int |
getNumberOfUnits()
Get the number of units in the file.
|
static void |
main(String[] args) |
public HNMFeatureFileReader(String fileName) throws IOException, MaryConfigurationException
fileName
- the unit file to readIOException
- if a problem occurs while readingMaryConfigurationException
- if runtime configuration failspublic int getNumberOfUnits()
public HntmSpeechSignal getHntmSpeechSignal(int unitnumber)
unitnumber
- unit index numberIllegalArgumentException
- if given index number is not less than available unitsCopyright © 2000–2016 DFKI GmbH. All rights reserved.