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 details)
Built Distribution
cn2en-0.0.118-py3-none-any.whl
(17.2 MB
view details)
File details
Details for the file cn2en-0.0.118.tar.gz
.
File metadata
- Download URL: cn2en-0.0.118.tar.gz
- Upload date:
- Size: 17.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a5672a49fb3d241f8fea57e94612489872c860f2334f746bbf12a051b0e470b |
|
MD5 | d514ccc434203a289a0787267543754c |
|
BLAKE2b-256 | 64fe4917fdd1b5a37dd896ffe82a5ecc2a96eff56a9f31680f9138a62907023e |
File details
Details for the file cn2en-0.0.118-py3-none-any.whl
.
File metadata
- Download URL: cn2en-0.0.118-py3-none-any.whl
- Upload date:
- Size: 17.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f584f68806bf2deca1a451e67cf41351039831385a3c3602228378dc85eaa194 |
|
MD5 | 82db0a3fdf6803ffe52226053afaca3e |
|
BLAKE2b-256 | 0c83d945760fdf8126e6dc9788d1e2e4356909fc76a80f943ab9fad075496df4 |