Skip to main content

Translate Chinese into English using Seq2Seq deep learning model

Project description

Chinese to English translation

This package provide the function to translate a Chinese sentence into an English sentence.

Requirements

  • Python version >= 3.6 and <= 3.9

Install

pip install cn2en

Usage

from cn2en.model import Model

model = Model()
print(model.translate('湯姆不在床上。'))

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

cn2en-0.0.118.tar.gz (17.2 MB view hashes)

Uploaded Source

Built Distribution

cn2en-0.0.118-py3-none-any.whl (17.2 MB view hashes)

Uploaded Python 3

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