AiliaSpeechModel class

Constructors

AiliaSpeechModel()

Properties

ailia DynamicLibrary?
getter/setter pair
ailiaAudio DynamicLibrary?
getter/setter pair
ailiaSpeech ↔ dynamic
getter/setter pair
ailiaTokenizer DynamicLibrary?
getter/setter pair
available bool
getter/setter pair
classId int
getter/setter pair
debug bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
postProcess bool
getter/setter pair
ppAilia Pointer<Pointer<AILIASpeech>>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
create(bool liveTranscribe, bool taskTranslate, int envId, {bool virtualMemory = false}) → void
dictionary(File dictionary, {int dictionaryType = ailia_speech_dart.AILIA_SPEECH_DICTIONARY_TYPE_REPLACE}) → void
finalizeInputData() → void
getCallback() Pointer<AILIASpeechApiCallback>
isBuffered() bool
isComplete() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(File encoder, File decoder, File? vad, String language, int modelType) → void
postprocess(File encoder, File? decoder, File source, File target, bool jaEn) → void
pushInputData(List<double> pcm, int sampleRate, int nChannels) → void
reset() → void
setIntermediateCallback(dynamic callback(String)) → void
throwError(String funcName, int code) → void
toString() String
A string representation of this object.
inherited
transcribe() List<SpeechText>
transcribeBatch() List<SpeechText>
translate(String inputText) String

Operators

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

Static Properties

callbacks Map<int, dynamic Function(String)>
getter/setter pair
classIdCounter int
getter/setter pair

Static Methods

intermediateCallback(Pointer<Void> handle, Pointer<Char> text) int