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
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
cn2en-0.0.118.tar.gz
(17.2 MB
view hashes)
Built Distribution
cn2en-0.0.118-py3-none-any.whl
(17.2 MB
view hashes)