<commit_before>__author__ = 'priyanshubhatnagar'

from gtts import gTTS
import os

def speak(text):
    if text and text.strip():
        tts = gTTS(text=text, lang='en')
        print("Google converted audio successfully.")
    else:
        tts = gTTS(text="Sorry I do not get what you say!", lang='en')
    tts.save("IrisTemp.mp3")
    os.system("mpg321 IrisTemp.mp3")<commit_msg>Google TTS updated<commit_after>__author__ = 'priyanshubhatnagar'

from gtts import gTTS
import os

def speak(text):
    if text and text.strip():
        tts = gTTS(text=text, lang='en')
        print("Google converted audio successfully.")
    else:
        tts = gTTS(text="Sorry I do not get what you say!", lang='en')
    tts.save("IrisTemp.mp3")
    os.system("mpg321 IrisTemp.mp3")

#speak("Hello how are you?")
{'fraction_non_alphanumeric': 0.132334581772784, 'fraction_numerical': 0.012484394506866416, 'mean_word_length': 3.50561797752809, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1411060', 'n_tokens_mistral': 294, 'n_tokens_neox': 285, 'n_words': 75}