Skip to content

Gaopeng-Bai/TranslatorBOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TranslatorBOT

Web service to translate text

Usage

This script is used to translate text into destination languages by using different translate engine.

For example:

from translator import translator
  • translator_name: google, microsoft, bing, sogou, baidu, alibaba, tencent, youdao, deepl, google_separate(googletrans).
t = translator(translator_name="google") 
print("result: "+t.translate_text(text="我是谁"))

Releases

No releases published

Packages

No packages published

Languages