felixjunghans / google_speech

Flutter google spech
MIT License
68 stars 41 forks source link

longRunningRecognize result #31

Closed hcihan closed 1 year ago

hcihan commented 1 year ago

how do i get a text file with longRunningRecognize. it's just returned name text. name: 5279715233814577284 Ekran Resmi 2023-03-06 16 27 14

felixjunghans commented 1 year ago

I don't know if I understand you correctly, but you can write the response yourself in a text file and save it?

hcihan commented 1 year ago

final responseLongRunning = await speechToText .longRunningRecognize( RecognitionConfig( audioChannelCount: 2, encoding: AudioEncoding.LINEAR16, model: RecognitionModel.basic, enableAutomaticPunctuation: true, sampleRateHertz: 44100, languageCode: 'tr-TR', useEnhanced: false, ), 'gs://hyunda/kisa.m4a'); } This is my LongRunningRecognize function. My result is just that name:"";

felixjunghans commented 1 year ago

Info in #44