示例#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
示例#2
0
 def _fast_example(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_example(translator=translator, index=index))
     except Exception:
         pass
示例#3
0
 def _fast_dictionary(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_dictionary(translator=translator, index=index))
     except Exception:
         pass
示例#4
0
 def _fast_spellcheck(queue: Queue, translator: BaseTranslator, index: int):
     try:
         queue.put(_spellcheck(translator=translator, index=index))
     except Exception:
         pass