AprilAsr
|
Models end with the file extension .april
. You need to pass a path to such a file to construct a Model type.
More...
Public Member Functions | |
AprilModel (string modelPath) | |
Loads an april model given a path to a model file. May throw an exception if the file is invalid. | |
Models end with the file extension .april
. You need to pass a path to such a file to construct a Model type.
Each model has its own sample rate in which it expects audio. There is a method to get the expected sample rate. Usually, this is 16000 Hz.
Models also have additional metadata such as name, description, language.
After loading a model, you can create one or more sessions that use the model.
AprilAsr.AprilModel.AprilModel | ( | string | modelPath | ) |
Loads an april model given a path to a model file. May throw an exception if the file is invalid.
modelPath | Path to an april model file |