Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.86k stars 1.84k forks source link

Help regarding continuous translation part in "translation_sample.py" #1002

Closed akshat-suwalka closed 3 years ago

akshat-suwalka commented 3 years ago

Hi!

I am working on colab with using my subscription key and other necessary things.

I want to translate the English audio to Hindi Audio But unfortunately facing some issues.

I tried to use the code sample provided in "cognitive-services-speech-sdk/samples/python/console/translation_sample.py" and specifically the "translation_continuous()" function But having some problem while getting the results.

def translation_continuous():
    """performs continuous speech translation from input from an audio file"""
    # <TranslationContinuous>
    # set up translation parameters: source language and target languages
    translation_config = speechsdk.translation.SpeechTranslationConfig(
        subscription=speech_key, region=service_region,
        speech_recognition_language='en-US',
        target_languages=('hi'), voice_name="hi-IN-Hemant")
    audio_config = speechsdk.audio.AudioConfig(filename="/content/drive/MyDrive/speechProject/EnglishAudio/onlAudio.wav")

    # Creates a translation recognizer using and audio file as input.
    recognizer = speechsdk.translation.TranslationRecognizer(
        translation_config=translation_config, audio_config=audio_config)

    def result_callback(event_type, evt):
        """callback to display a translation result"""
        print("{}: {}\n\tTranslations: {}\n\tResult Json: {}".format(
            event_type, evt, evt.result.translations.items(), evt.result.json))

    done = False

    def stop_cb(evt):
        """callback that signals to stop continuous recognition upon receiving an event `evt`"""
        print('CLOSING on {}'.format(evt))
        nonlocal done
        done = True

    # connect callback functions to the events fired by the recognizer
    recognizer.session_started.connect(lambda evt: print('SESSION STARTED: {}'.format(evt)))
    recognizer.session_stopped.connect(lambda evt: print('SESSION STOPPED {}'.format(evt)))
    # event for intermediate results
    recognizer.recognizing.connect(lambda evt: result_callback('RECOGNIZING', evt))
    # event for final result
    recognizer.recognized.connect(lambda evt: result_callback('RECOGNIZED', evt))
    # cancellation event
    recognizer.canceled.connect(lambda evt: print('CANCELED: {} ({})'.format(evt, evt.reason)))

    # stop continuous recognition on either session stopped or canceled events
    recognizer.session_stopped.connect(stop_cb)
    recognizer.canceled.connect(stop_cb)

    def synthesis_callback(evt):
        """
        callback for the synthesis event
        """
        print('SYNTHESIZING {}\n\treceived {} bytes of audio. Reason: {}'.format(
            evt, len(evt.result.audio), evt.result.reason))

        # Code to save the translated file, I just copied it from "speech translation quickstart" "Event based synthesis" part
        size = len(evt.result.audio)
        print(f'Audio synthesized: {size} byte(s) {"(COMPLETED)" if size == 0 else ""}')

        if size > 0:
            file = open('translation.wav', 'wb+')
            file.write(evt.result.audio)
            file.close()

    # connect callback to the synthesis event
    recognizer.synthesizing.connect(synthesis_callback)

    # start translation
    recognizer.start_continuous_recognition()

    while not done:
        time.sleep(.5)

    recognizer.stop_continuous_recognition()
    # </TranslationContinuous>

translation_continuous()

I had added a piece of code to save the translated audio in the def synthesis_callback(evt): part. But still I am not getting any audio file.

This is not the main problem But the main problem is that the audio is not translating and the output of above code is :

SESSION STARTED: SessionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818)
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=95c019b022e94c849620ed3a0873ea29, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":22200000,"Offset":200000,"RecognitionStatus":"Success","Text":"Welcome to the course on data mining.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=cff5fa1e3462420eb168bed75cde4ffb, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":60100000,"Offset":29800000,"RecognitionStatus":"Success","Text":"In this course will cover the basic algorithms of data mining.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=6ac08260436c4b5ab3833db3b415e47a, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":32300000,"Offset":97000000,"RecognitionStatus":"Success","Text":"Including data preprocessing techniques.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=7e2cee6cbf704e62ba3b90f554b19bae, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":18800000,"Offset":137000000,"RecognitionStatus":"Success","Text":"Different steps of data mining.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=d67fa08ad07c4e5e86966020abf7f7f5, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":15300000,"Offset":169100000,"RecognitionStatus":"Success","Text":"Association rule mining.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=77cb1eb5089f42fd981f7c681839098c, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":71700000,"Offset":190100000,"RecognitionStatus":"Success","Text":"Classification including different techniques like this, entries, Bayesian classifiers, support vector machines.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=677b4060014c45e5ad281c2d4ee3c00c, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":68700000,"Offset":272200000,"RecognitionStatus":"Success","Text":"And then clustering an exploratory data analysis. The Caymans algorithm. Hierarchical algorithms.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=a2ee6fc931be496f83cc28dc30129898, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":28700000,"Offset":348600000,"RecognitionStatus":"Success","Text":"We'll also covered some of the sequence.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=6c0ce7a56b0b45c49424c20d252a9e8b, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":11800000,"Offset":383100000,"RecognitionStatus":"Success","Text":"Mining tasks.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818, result=TranslationRecognitionResult(result_id=c1e1e02650c543c7bf7a53527b1208b6, translations={}, reason=ResultReason.RecognizedSpeech))
    Translations: []
    Result Json: {"Duration":72700000,"Offset":414600000,"RecognitionStatus":"Success","Text":"And then some of the techniques of visualizing an evaluating the output of the learning algorithms.","Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"}}
SESSION STOPPED SessionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818)
CLOSING on SessionEventArgs(session_id=1f5e79b08bb948e9a380dcaa8c513818)

If you see that my Translations = [ ] is empty and also I am getting an error in translation part if you please scroll right then you can see it. Translation":{"FailureReason":"Translation call failed: Response status code does not indicate success: 400 (Bad Request).","TranslationStatus":"Error"

akshat-suwalka commented 3 years ago

Hi @dargilco Can you please help why I am getting these errors?

Link of the audio file

dargilco commented 3 years ago

I'll have to consult with my team and get back to you. Meanwhile can you do these two experiments just to see if it works: try translation to hindi text (not to audio). Try translation to another language (text and audio translation). Do those work? The "session_id" you print above is what we will need to investigate in our back end if needed, so keep sharing it.

akshat-suwalka commented 3 years ago

@dargilco

I tried to get the text as well but there is no translation text it is storing.

Also I tired to convert the audio in "de" language and voice as "de-DE-Hedda". But still same problem that is NO audio is saving and NO translation had been done.

I had provided the link of audio also in above comment so that if anybody can write the code which can translate the above audio of given language i.e. English to other language i.e. Hindi then it will be very useful.

Thanks

dargilco commented 3 years ago

Thanks for the additional input.

Please try to add this line after your speechsdk.translation.SpeechTranslationConfig() line, and remove target_languages=('hi'):

translation_config.add_target_language('hi')
dargilco commented 3 years ago

@akshat-suwalka, just got word from @pankopon, our python expert, that the correct syntax for specifying target langauge in your SpeechTranslationConfig() line should be target_languages=(['hi']) or target_languages=['hi']

Let us know if this solved your problem. For the time being I'm closing this issue.

akshat-suwalka commented 3 years ago

@dargilco @pankopon Thank you for your response toward my problem and it actually solved.

But can you please help me further as I am struggling in the saving part of the translation. For that I am using the following code:

import os
import azure.cognitiveservices.speech as speechsdk
import time
import wave
import string

try:
    import azure.cognitiveservices.speech as speechsdk
except ImportError:
    print("""
    Importing the Speech SDK for Python failed.
    Refer to
    https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-python for
    installation instructions.
    """)
    import sys
    sys.exit(1)

speech_key, service_region = '',''

def translation_continuous():
    """performs continuous speech translation from input from an audio file"""
    # <TranslationContinuous>
    # set up translation parameters: source language and target languages
    translation_config = speechsdk.translation.SpeechTranslationConfig(
        subscription=speech_key, region=service_region,
        speech_recognition_language='en-US',
        target_languages=(['hi']), voice_name="hi-IN-Hemant")
    audio_config = speechsdk.audio.AudioConfig(filename="/content/drive/MyDrive/speechProject/EnglishAudio/onlAudio.wav")

    # Creates a translation recognizer using and audio file as input.
    recognizer = speechsdk.translation.TranslationRecognizer(
        translation_config=translation_config, audio_config=audio_config)

    def result_callback(event_type, evt):
        """callback to display a translation result"""
        print("{}: {}\n\tTranslations: {}\n\tResult Json: {}".format(
            event_type, evt, evt.result.translations.items(), evt.result.json))

    done = False

    def stop_cb(evt):
        """callback that signals to stop continuous recognition upon receiving an event `evt`"""
        print('CLOSING on {}'.format(evt))
        nonlocal done
        done = True

    # connect callback functions to the events fired by the recognizer
    recognizer.session_started.connect(lambda evt: print('SESSION STARTED: {}'.format(evt)))
    recognizer.session_stopped.connect(lambda evt: print('SESSION STOPPED {}'.format(evt)))
    # event for intermediate results
    recognizer.recognizing.connect(lambda evt: result_callback('RECOGNIZING', evt))
    # event for final result
    recognizer.recognized.connect(lambda evt: result_callback('RECOGNIZED', evt))
    # cancellation event
    recognizer.canceled.connect(lambda evt: print('CANCELED: {} ({})'.format(evt, evt.reason)))

    # stop continuous recognition on either session stopped or canceled events
    recognizer.session_stopped.connect(stop_cb)
    recognizer.canceled.connect(stop_cb)

    def synthesis_callback(evt):
        """
        callback for the synthesis event
        """
        print('SYNTHESIZING {}\n\treceived {} bytes of audio. Reason: {}'.format(
            evt, len(evt.result.audio), evt.result.reason))

        # Code to save the translated file, I just copied it from "speech translation quickstart" "Event based synthesis" part
        size = len(evt.result.audio)
        print(f'Audio synthesized: {size} byte(s) {"(COMPLETED)" if size == 0 else ""}')

        if evt.result.reason == speechsdk.ResultReason.SynthesizingAudio:
            try:
                with open('out.wav', 'ab+') as wavfile:
                    print("\nstart writing\n")
                    wavfile.write(evt.result.audio)
                    print("\nended \n")

            except Exception as e:
                print(f'could not write to file: {e}')

    # connect callback to the synthesis event
    recognizer.synthesizing.connect(synthesis_callback)

    # start translation
    recognizer.start_continuous_recognition()

    while not done:
        time.sleep(.5)

    recognizer.stop_continuous_recognition()
    # </TranslationContinuous>

translation_continuous()

The output of the above code is :

SESSION STARTED: SessionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=b599de6d92a049d49208b640e8e8d819, translations={'hi': 'स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'स्वागत है')]
    Result Json: {"Duration":3500000,"Offset":200000,"Text":"Welcome","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"स्वागत है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=9f5cd48c10714392bc97b93c73f7c160, translations={'hi': 'आपका स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'आपका स्वागत है')]
    Result Json: {"Duration":6500000,"Offset":200000,"Text":"Welcome to the","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"आपका स्वागत है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=6496dc97caea44f78189f70aedb1e333, translations={'hi': 'पर पाठ्यक्रम में आपका स्वागत है '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'पर पाठ्यक्रम में आपका स्वागत है ')]
    Result Json: {"Duration":15000000,"Offset":200000,"Text":"Welcome to the course on","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"पर पाठ्यक्रम में आपका स्वागत है "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=ea1cbfb40b3949c7a07bdae7b33866b3, translations={'hi': 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है')]
    Result Json: {"Duration":19800000,"Offset":200000,"Text":"Welcome to the course on data mining","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा खनन पर पाठ्यक्रम में आपका स्वागत है"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=c14c9c33eeb54bd684e76fc47a48765c, translations={'hi': 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।')]
    Result Json: {"Duration":22200000,"Offset":200000,"RecognitionStatus":"Success","Text":"Welcome to the course on data mining.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<129644 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 129644 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 129644 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=d05cde8db2ac46f299a51666d8eaf2f2, translations={'hi': 'में'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'में')]
    Result Json: {"Duration":11700000,"Offset":29800000,"Text":"In","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"में"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=565b9123c8b84e8991fcd71284eba359, translations={'hi': 'इस कोर्स में'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में')]
    Result Json: {"Duration":17600000,"Offset":29800000,"Text":"In this course","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=a9f766f1e2e642568010c46f978c109a, translations={'hi': 'इस पाठ्यक्रम में हम'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस पाठ्यक्रम में हम')]
    Result Json: {"Duration":25400000,"Offset":29800000,"Text":"In this course we","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस पाठ्यक्रम में हम"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=e173b550092c4b7b9d08dc5e3a1ac312, translations={'hi': 'इस कोर्स में कवर किया जाएगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में कवर किया जाएगा')]
    Result Json: {"Duration":29600000,"Offset":29800000,"Text":"In this course will cover","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में कवर किया जाएगा"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=0afadf6453b447b9b359e53e9ff20e09, translations={'hi': 'इस कोर्स में कवर किया जाएगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में कवर किया जाएगा')]
    Result Json: {"Duration":37700000,"Offset":29800000,"Text":"In this course will cover the","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में कवर किया जाएगा"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=94665fddbc054ceca735cca000e9a4b8, translations={'hi': 'इस कोर्स में बेसिक कवर होगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में बेसिक कवर होगा')]
    Result Json: {"Duration":43600000,"Offset":29800000,"Text":"In this course will cover the basic","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में बेसिक कवर होगा"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=d92269808b414728ab8c1bc7912d1b7b, translations={'hi': 'इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा')]
    Result Json: {"Duration":49100000,"Offset":29800000,"Text":"In this course will cover the basic algorithm","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=4d86128ecfee4510a1df48ec093f14d1, translations={'hi': 'इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा')]
    Result Json: {"Duration":53000000,"Offset":29800000,"Text":"In this course will cover the basic algorithms","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में बेसिक एल्गोरिदम को कवर किया जाएगा"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=9f7c1aa398b84a49be038600a2a8eb30, translations={'hi': 'इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा')]
    Result Json: {"Duration":57400000,"Offset":29800000,"Text":"In this course will cover the basic algorithms of data mining","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=88c4ad52100e423d96b4db5431b505ce, translations={'hi': 'इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा।')]
    Result Json: {"Duration":60100000,"Offset":29800000,"RecognitionStatus":"Success","Text":"In this course will cover the basic algorithms of data mining.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<168044 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 168044 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 168044 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=fe47e365a4454ce9838d19480e361db4, translations={'hi': 'सहित'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'सहित')]
    Result Json: {"Duration":9300000,"Offset":97000000,"Text":"Including","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"सहित"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=4efd04473f244b74a432152d8d70a534, translations={'hi': 'तारीख सहित'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'तारीख सहित')]
    Result Json: {"Duration":16100000,"Offset":97000000,"Text":"Including date","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"तारीख सहित"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=e0cb95658aeb4166a1435c76d63b39e1, translations={'hi': 'जिसमें डेटा प्रीप्रोसेसिंग भी शामिल है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'जिसमें डेटा प्रीप्रोसेसिंग भी शामिल है')]
    Result Json: {"Duration":23600000,"Offset":97000000,"Text":"Including data preprocessing","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"जिसमें डेटा प्रीप्रोसेसिंग भी शामिल है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=6308f7fa50f940b8aebcd242284c45ab, translations={'hi': 'जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है')]
    Result Json: {"Duration":28700000,"Offset":97000000,"Text":"Including data preprocessing technique","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=cbc23bd10e4c406ba607f582cdca3a51, translations={'hi': 'जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है।')]
    Result Json: {"Duration":32300000,"Offset":97000000,"RecognitionStatus":"Success","Text":"Including data preprocessing techniques.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<124684 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 124684 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 124684 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=77f216e8ee6e48f6aae12e4aae33548c, translations={'hi': 'अलग'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'अलग')]
    Result Json: {"Duration":5500000,"Offset":137000000,"Text":"Different","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"अलग"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=eb69cb1db25745dc87985973bb0248ea, translations={'hi': 'अलग-अलग कदम'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'अलग-अलग कदम')]
    Result Json: {"Duration":9500000,"Offset":137000000,"Text":"Different steps","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"अलग-अलग कदम"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=fed91ef3152f4f4d825bf81e767c4494, translations={'hi': 'डेटा के विभिन्न चरण'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'डेटा के विभिन्न चरण')]
    Result Json: {"Duration":13600000,"Offset":137000000,"Text":"Different steps of data","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा के विभिन्न चरण"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=95e946eea0ac42c192722cceed595952, translations={'hi': 'डेटा खनन के विभिन्न कदम।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'डेटा खनन के विभिन्न कदम।')]
    Result Json: {"Duration":18800000,"Offset":137000000,"RecognitionStatus":"Success","Text":"Different steps of data mining.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा खनन के विभिन्न कदम।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<85964 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 85964 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 85964 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=66d54aec8fa04b28840acf2f6a6b638c, translations={'hi': 'संघ'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'संघ')]
    Result Json: {"Duration":6500000,"Offset":169100000,"Text":"Association","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"संघ"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=07ad152d028b4b6b983d53674d6734cc, translations={'hi': 'एसोसिएशन मेरे शासन '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'एसोसिएशन मेरे शासन ')]
    Result Json: {"Duration":10800000,"Offset":169100000,"Text":"Association rule my","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"एसोसिएशन मेरे शासन "}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=a1d78ad658be489a887ff0d44a30c321, translations={'hi': 'एसोसिएशन नियम खनन।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'एसोसिएशन नियम खनन।')]
    Result Json: {"Duration":15300000,"Offset":169100000,"RecognitionStatus":"Success","Text":"Association rule mining.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"एसोसिएशन नियम खनन।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<80044 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 80044 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 80044 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=2a2a432617a342bd958a35ef1d6008ae, translations={'hi': 'क्लासिक'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'क्लासिक')]
    Result Json: {"Duration":4100000,"Offset":190100000,"Text":"Classic","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"क्लासिक"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=beb4da715c7c4b3d93006441c029f1b5, translations={'hi': 'वर्गीकरण सहित'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'वर्गीकरण सहित')]
    Result Json: {"Duration":18700000,"Offset":190100000,"Text":"Classification including","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"वर्गीकरण सहित"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=18d6fb1e691a4ab5b9708babc95c0dc9, translations={'hi': 'विभिन्न सहित वर्गीकरण'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'विभिन्न सहित वर्गीकरण')]
    Result Json: {"Duration":23100000,"Offset":190100000,"Text":"Classification including different","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"विभिन्न सहित वर्गीकरण"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=eebc20a117ad4f9fbdda398d1a429ba7, translations={'hi': 'विभिन्न तकनीकों सहित वर्गीकरण'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'विभिन्न तकनीकों सहित वर्गीकरण')]
    Result Json: {"Duration":30300000,"Offset":190100000,"Text":"Classification including different techniques like","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"विभिन्न तकनीकों सहित वर्गीकरण"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=b879aea85470403e80417ab364ee79f0, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण है')]
    Result Json: {"Duration":33900000,"Offset":190100000,"Text":"Classification including different techniques like this is","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=bd97a5a253dd4ad680a98a128c329d4a, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण असत्य है '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण असत्य है ')]
    Result Json: {"Duration":37200000,"Offset":190100000,"Text":"Classification including different techniques like this is untrue","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण असत्य है "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=343d54fa90d64cd192b229f562fd1399, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियों आधारित'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियों आधारित')]
    Result Json: {"Duration":44900000,"Offset":190100000,"Text":"Classification including different techniques like this, entries based","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियों आधारित"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=a08a47f596334255adbf8e75026324a5, translations={'hi': 'इस प्रविष्टियों, बायसियन क्लासिफायर जैसी विभिन्न तकनीकों सहित वर्गीकरण'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस प्रविष्टियों, बायसियन क्लासिफायर जैसी विभिन्न तकनीकों सहित वर्गीकरण')]
    Result Json: {"Duration":50500000,"Offset":190100000,"Text":"Classification including different techniques like this entries, Bayesian classifiers","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस प्रविष्टियों, बायसियन क्लासिफायर जैसी विभिन्न तकनीकों सहित वर्गीकरण"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=66d913f09f4d4414aa75700f5dea3d9c, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर समर्थन करते हैं'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर समर्थन करते हैं')]
    Result Json: {"Duration":62300000,"Offset":190100000,"Text":"Classification including different techniques like this, entries, Bayesian classifiers support","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर समर्थन करते हैं"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=5cce545a47f04688b072865a46c41041, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर')]
    Result Json: {"Duration":65800000,"Offset":190100000,"Text":"Classification including different techniques like this, entries, Bayesian classifiers, support vector","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=8e31da31f5074ae1a7ee870297f31c08, translations={'hi': 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर मशीन।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर मशीन।')]
    Result Json: {"Duration":71700000,"Offset":190100000,"RecognitionStatus":"Success","Text":"Classification including different techniques like this, entries, Bayesian classifiers, support vector machines.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर मशीन।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<265964 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 265964 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 265964 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=570b25eff6404eb1b263936739755928, translations={'hi': 'और'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और')]
    Result Json: {"Duration":3300000,"Offset":272200000,"Text":"And","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=27180738b52e457182e597290fcc1f35, translations={'hi': 'और फिर क्लस्टरिंग '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर क्लस्टरिंग ')]
    Result Json: {"Duration":11900000,"Offset":272200000,"Text":"And then clustering","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर क्लस्टरिंग "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=c4c25b657d3e447fa7ef47f552f53721, translations={'hi': 'और फिर एक क्लस्टरिंग '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक क्लस्टरिंग ')]
    Result Json: {"Duration":18100000,"Offset":272200000,"Text":"And then clustering an","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक क्लस्टरिंग "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=f6202d2bed5642f985ce33492471c1ea, translations={'hi': 'और फिर एक अन्वेषणात्मक क्लस्टरिंग '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक क्लस्टरिंग ')]
    Result Json: {"Duration":23700000,"Offset":272200000,"Text":"And then clustering an exploratory","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक क्लस्टरिंग "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=07a9e499a96845359296107105b77bd2, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग')]
    Result Json: {"Duration":30200000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=292feb92bf01479688368f8984c83361, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग ')]
    Result Json: {"Duration":36600000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis like","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=ecf5fbd39afc42818aebfffeea79243f, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था ')]
    Result Json: {"Duration":41300000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis like the came in","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=e93d6a018b194d188c24255fe28afc54, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था ')]
    Result Json: {"Duration":43600000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis like the came in","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण की तरह क्लस्टरिंग में आया था "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=0a81f5e19d9d49b89f7e1c28d3c5f010, translations={'hi': 'और फिर केमैन के एल्गोरिदम की तरह एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर केमैन के एल्गोरिदम की तरह एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग ')]
    Result Json: {"Duration":50500000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis like the Cayman's algorithm","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर केमैन के एल्गोरिदम की तरह एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=8d69a76069b849999b1b034c323537e7, translations={'hi': 'और फिर केमैंस एल्गोरिदम, पदानुक्रमित जैसे अन्वेषणात्मक डेटा विश्लेषण को क्लस्टर करते हैं'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर केमैंस एल्गोरिदम, पदानुक्रमित जैसे अन्वेषणात्मक डेटा विश्लेषण को क्लस्टर करते हैं')]
    Result Json: {"Duration":59100000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis like the Caymans algorithm, hierarchical","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर केमैंस एल्गोरिदम, पदानुक्रमित जैसे अन्वेषणात्मक डेटा विश्लेषण को क्लस्टर करते हैं"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=c0e1c7bd3b3e423e9b1b50991075eb77, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम')]
    Result Json: {"Duration":65700000,"Offset":272200000,"Text":"And then clustering an exploratory data analysis. The Caymans algorithm. Hierarchical algorithms","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=d9b6702e94cf48d69ff771c4da944f80, translations={'hi': 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम।')]
    Result Json: {"Duration":68700000,"Offset":272200000,"RecognitionStatus":"Success","Text":"And then clustering an exploratory data analysis. The Caymans algorithm. Hierarchical algorithms.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<290924 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 290924 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 290924 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=f20ed589455848529cf2f3e902857603, translations={'hi': 'मर्जी'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'मर्जी')]
    Result Json: {"Duration":3800000,"Offset":348600000,"Text":"Will","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"मर्जी"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=3ef74b79a15847eba8c3c2a41bd17789, translations={'hi': 'हम भी कवर करेंगे'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'हम भी कवर करेंगे')]
    Result Json: {"Duration":8700000,"Offset":348600000,"Text":"We'll also cover","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"हम भी कवर करेंगे"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=4421a03267964f66ba56e75e95c8f964, translations={'hi': 'हम भी कुछ कवर करेंगे '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'हम भी कुछ कवर करेंगे ')]
    Result Json: {"Duration":16300000,"Offset":348600000,"Text":"We'll also covered some of the","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"हम भी कुछ कवर करेंगे "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=773d3a2f665c4bfba2457fff215543d7, translations={'hi': 'हम भी अनुक्रम के कुछ कवर करेंगे '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'हम भी अनुक्रम के कुछ कवर करेंगे ')]
    Result Json: {"Duration":26400000,"Offset":348600000,"Text":"We'll also covered some of the sequence","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"हम भी अनुक्रम के कुछ कवर करेंगे "}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=000140641fe04aebb40ef445aaac6eff, translations={'hi': 'हम भी अनुक्रम के कुछ कवर करेंगे ।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'हम भी अनुक्रम के कुछ कवर करेंगे ।')]
    Result Json: {"Duration":28700000,"Offset":348600000,"RecognitionStatus":"Success","Text":"We'll also covered some of the sequence.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"हम भी अनुक्रम के कुछ कवर करेंगे ।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<105004 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 105004 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 105004 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=cfea6d23be314d83b9e2b5664a37cba5, translations={'hi': 'खनन-उद्योग'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'खनन-उद्योग')]
    Result Json: {"Duration":4700000,"Offset":383100000,"Text":"Mining","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"खनन-उद्योग"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=2f4582da25f2433e95246861e7364c08, translations={'hi': 'खनन-उद्योग'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'खनन-उद्योग')]
    Result Json: {"Duration":9000000,"Offset":383100000,"Text":"Mining","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"खनन-उद्योग"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=33cd1a4dda6c483782e155537e65c1cd, translations={'hi': 'खनन कार्य।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'खनन कार्य।')]
    Result Json: {"Duration":11800000,"Offset":383100000,"RecognitionStatus":"Success","Text":"Mining tasks.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"खनन कार्य।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<54444 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 54444 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 54444 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=07dd028ca6e948fc969eba003e7a6539, translations={'hi': 'और'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और')]
    Result Json: {"Duration":4500000,"Offset":414600000,"Text":"And","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=603b3090d60544ada629a23a19a61330, translations={'hi': 'और फिर कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर कुछ ')]
    Result Json: {"Duration":13900000,"Offset":414600000,"Text":"And then some","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=6bf2598cb4e64c8d8e1a111b45c6c041, translations={'hi': 'और फिर उसमें से कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर उसमें से कुछ ')]
    Result Json: {"Duration":18200000,"Offset":414600000,"Text":"And then some of that","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर उसमें से कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=be5a1de7cb96457d8f69be0d36763f0f, translations={'hi': 'और फिर की तकनीक के कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर की तकनीक के कुछ ')]
    Result Json: {"Duration":25100000,"Offset":414600000,"Text":"And then some of the techniques of","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर की तकनीक के कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=a760191f5aad4448badd942e1687b1fe, translations={'hi': 'और फिर कल्पना की कुछ तकनीकें'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर कल्पना की कुछ तकनीकें')]
    Result Json: {"Duration":33000000,"Offset":414600000,"Text":"And then some of the techniques of visualizing","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर कल्पना की कुछ तकनीकें"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=2c229ca874ab4558838437ee99d072a9, translations={'hi': 'और फिर एक कल्पना की तकनीकों में से कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक कल्पना की तकनीकों में से कुछ ')]
    Result Json: {"Duration":36500000,"Offset":414600000,"Text":"And then some of the techniques of visualizing an","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक कल्पना की तकनीकों में से कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=3533c0ddf9e648558017b246524b2d97, translations={'hi': 'और फिर एक मूल्यांकन की कल्पना की तकनीकों में से कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक मूल्यांकन की कल्पना की तकनीकों में से कुछ ')]
    Result Json: {"Duration":43900000,"Offset":414600000,"Text":"And then some of the techniques of visualizing an evaluating","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक मूल्यांकन की कल्पना की तकनीकों में से कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=2e3c79745ccc427d930d231a2c4e528d, translations={'hi': 'और फिर एक के उत्पादन का मूल्यांकन कल्पना की तकनीकों में से कुछ '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर एक के उत्पादन का मूल्यांकन कल्पना की तकनीकों में से कुछ ')]
    Result Json: {"Duration":54700000,"Offset":414600000,"Text":"And then some of the techniques of visualizing an evaluating the output of","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर एक के उत्पादन का मूल्यांकन कल्पना की तकनीकों में से कुछ "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=9d9a4f69f54b4bfd854f667b0b385756, translations={'hi': 'और फिर सीखने के उत्पादन का मूल्यांकन करने की कुछ तकनीकों की कल्पना करना'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'और फिर सीखने के उत्पादन का मूल्यांकन करने की कुछ तकनीकों की कल्पना करना')]
    Result Json: {"Duration":63700000,"Offset":414600000,"Text":"And then some of the techniques of visualizing an evaluating the output of the learning","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर सीखने के उत्पादन का मूल्यांकन करने की कुछ तकनीकों की कल्पना करना"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=49acff736ccf4dc98d05ea8ee079cbc1, translations={'hi': 'और फिर सीखने एल्गोरिदम के उत्पादन का मूल्यांकन करने की कुछ तकनीकें।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'और फिर सीखने एल्गोरिदम के उत्पादन का मूल्यांकन करने की कुछ तकनीकें।')]
    Result Json: {"Duration":72700000,"Offset":414600000,"RecognitionStatus":"Success","Text":"And then some of the techniques of visualizing an evaluating the output of the learning algorithms.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"और फिर सीखने एल्गोरिदम के उत्पादन का मूल्यांकन करने की कुछ तकनीकें।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<185004 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 185004 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 185004 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)
SESSION STOPPED SessionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568)
CLOSING on SessionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568)

Now the main problem is that we are getting the translated audio but it is only upto this point :--

SESSION STARTED: SessionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568)
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=b599de6d92a049d49208b640e8e8d819, translations={'hi': 'स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'स्वागत है')]
    Result Json: {"Duration":3500000,"Offset":200000,"Text":"Welcome","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"स्वागत है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=9f5cd48c10714392bc97b93c73f7c160, translations={'hi': 'आपका स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'आपका स्वागत है')]
    Result Json: {"Duration":6500000,"Offset":200000,"Text":"Welcome to the","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"आपका स्वागत है"}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=6496dc97caea44f78189f70aedb1e333, translations={'hi': 'पर पाठ्यक्रम में आपका स्वागत है '}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'पर पाठ्यक्रम में आपका स्वागत है ')]
    Result Json: {"Duration":15000000,"Offset":200000,"Text":"Welcome to the course on","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"पर पाठ्यक्रम में आपका स्वागत है "}]}}
RECOGNIZING: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=ea1cbfb40b3949c7a07bdae7b33866b3, translations={'hi': 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है'}, reason=ResultReason.TranslatingSpeech))
    Translations: [('hi', 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है')]
    Result Json: {"Duration":19800000,"Offset":200000,"Text":"Welcome to the course on data mining","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा खनन पर पाठ्यक्रम में आपका स्वागत है"}]}}
RECOGNIZED: TranslationRecognitionEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationRecognitionResult(result_id=c14c9c33eeb54bd684e76fc47a48765c, translations={'hi': 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।'}, reason=ResultReason.TranslatedSpeech))
    Translations: [('hi', 'डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।')]
    Result Json: {"Duration":22200000,"Offset":200000,"RecognitionStatus":"Success","Text":"Welcome to the course on data mining.","Translation":{"TranslationStatus":"Success","Translations":[{"Language":"hi","Text":"डेटा खनन पर पाठ्यक्रम में आपका स्वागत है।"}]}}
SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<129644 bytes of audio>, reason=ResultReason.SynthesizingAudio))
    received 129644 bytes of audio. Reason: ResultReason.SynthesizingAudio
Audio synthesized: 129644 byte(s) 

start writing

ended 

SYNTHESIZING TranslationSynthesisEventArgs(session_id=773bb87f4d2b4990ad62813c4567d568, result=TranslationSynthesisResult(audio=<0 bytes of audio>, reason=ResultReason.SynthesizingAudioCompleted))
    received 0 bytes of audio. Reason: ResultReason.SynthesizingAudioCompleted
Audio synthesized: 0 byte(s) (COMPLETED)

I am not getting the result of the further translated audio in my saving "out.wav" file and also if you notice that the file is opened as appending mode i.e. "ab+" so that means it will append the further audios and we can further verify its working by putting print code before and after the writing part and we clearly see from the results that it is always printing.

print("\nstart writing\n")
wavfile.write(evt.result.audio)
print("\nended \n")

So my audio file have डेटा खनन पर पाठ्यक्रम में आपका स्वागत है। But it didn't have the further translation and they are :--

इस कोर्स में डेटा माइनिंग के बेसिक एल्गोरिदम को कवर किया जाएगा। जिसमें डेटा प्रीप्रोसेसिंग तकनीक शामिल है। डेटा खनन के विभिन्न कदम। एसोसिएशन नियम खनन। इस तरह की विभिन्न तकनीकों सहित वर्गीकरण, प्रविष्टियां, बायसियन क्लासिफायर, सपोर्ट वेक्टर मशीन। और फिर एक अन्वेषणात्मक डेटा विश्लेषण क्लस्टरिंग। केमैंस एल्गोरिदम। पदानुक्रमित एल्गोरिदम। हम भी अनुक्रम के कुछ कवर करेंगे । खनन कार्य। और फिर सीखने एल्गोरिदम के उत्पादन का मूल्यांकन करने की कुछ तकनीकें।

Can you please help @dargilco @pankopon ?

dargilco commented 3 years ago

@akshat-suwalka can you please open new issues for what you have found, with a more specific title? This will help others. I'm reading one issue related to your expectation that the WAV file will be re-written instead of appended. And another issue related to not translating the last part of the audio file. Is this correct? For every new issue you open please also enable Speech SDK logging in your code and attach the log to the new GitHub issue.