Skip to main content

sogou translate no frills

Project description

sogou-tr

[tests]pythonCode style: blackLicense: MITPyPI version

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


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)

Uploaded source

Built Distribution

sogou_tr-0.1.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page