Skip to content

Conversation

wannaphong
Copy link
Member

@wannaphong wannaphong commented Jul 7, 2021

What does this changes

Add Translate class for mt

How to use

from pythainlp.translate import Translate
then = Translate('th', 'en')
print(then.translate('ฉันรักแมว'))

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Passed code styles and structures
  • Passed code linting checks and unit test

@pep8speaks
Copy link

pep8speaks commented Jul 7, 2021

Hello @wannaphong! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-07-07 17:03:28 UTC

@wannaphong wannaphong merged commit bd47e26 into Add-th-zh-translate Jul 8, 2021
@wannaphong wannaphong added this to the 2.4 milestone Jul 18, 2021
@wannaphong wannaphong deleted the add-translate-class branch July 29, 2021 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants