OfflineRecognizer class

Constructors

OfflineRecognizer(OfflineRecognizerConfig config)
The user is responsible to call the OfflineRecognizer.free() method of the returned instance to avoid memory leak.
factory

Properties

config OfflineRecognizerConfig
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<SherpaOnnxOfflineRecognizer>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createStream() OfflineStream
The user has to invoke stream.free() on the returned instance to avoid memory leak
decode(OfflineStream stream) → void
free() → void
getResult(OfflineStream stream) OfflineRecognizerResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited