Text (English) to translate
- Example
This is a cat.
Translated (Japanese) text
translation_text: これは猫です。
This model requires additional module.
pip3 install ailia_tokenizer
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample text,
$ python3 fugumt-en-ja.py
If you want to specify the input text, put the text after the --input
option.
$ python3 fugumt-en-ja.py --input TEXT
Pytorch
ONNX opset=11