Esempio n. 1
0
 def _fast_text_to_speech(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_text_to_speech(translator=translator, index=index))
     except Exception:
         pass
Esempio n. 2
0
 def _fast_example(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_example(translator=translator, index=index))
     except Exception:
         pass
Esempio n. 3
0
 def _fast_dictionary(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_dictionary(translator=translator, index=index))
     except Exception:
         pass
Esempio n. 4
0
 def _fast_spellcheck(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_spellcheck(translator=translator, index=index))
     except Exception:
         pass