sogou translate no frills
Project description
sogou-tr
sogou translate no frills
Installation
pip install sogou-tr
Usage
from sogou_tr.sogou_tr import sogou_tr
text = "An employee at Spataro's No Frills, located at 8990 Chinguacousy Rd, has tested positive for the virus."
print(text, "\n")
print("to zh:", sogou_tr(text), "\n")
print("to de:", sogou_tr(text, to_lang="de"), "\n")
# to zh: 位于金瓜库西路8990号的斯帕塔罗百货公司的一名员工检测出病毒呈阳性。
# to de: Ein Mitarbeiter von Spataro es No Frills, gelegen 8990 Chinguacousy Rd, hat positiv auf das Virus getestet.
Consult sogou fanyi's homepage for language pairs supported.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sogou-tr-0.1.1.tar.gz
(4.1 kB
view hashes)