NemoAsrEngine class final
Greedy decoding, as sherpa-onnx and NeMo do it.
Constructors
- NemoAsrEngine(NemoAsrOnnxBackend _backend, NemoAsrModel model)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → NemoAsrModel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
Float32List samples) → Future< String> -
transcribeTokens(
Float32List samples) → Future< List< int> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- maxTokensPerFrame → const int
- Most tokens that the TDT decoder emits without moving to a later frame.