Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse translate #2

Closed
nnti3n opened this issue Nov 27, 2017 · 3 comments
Closed

Reverse translate #2

nnti3n opened this issue Nov 27, 2017 · 3 comments

Comments

@nnti3n
Copy link

nnti3n commented Nov 27, 2017

Can this module reverse translate tieqviet

@duongdev
Copy link

duongdev commented Nov 27, 2017

I think just reverse this map and modify something

const maps = [
	['kh', 'x'],
	['c(?!h)', 'k'],
	['q', 'k'],
	['tr', 'c'],
	['ch', 'c'],
	['d', 'z'],
	['gi', 'z'],
	['r', 'z'],
	['đ', 'd'],
	['ph', 'f'],
	['ngh?', 'q'],
	['gh', 'g'],
	['th', 'w'],
	['nh', 'n\'']
];

@pvtri96
Copy link

pvtri96 commented Nov 27, 2017

This module should have reverse translation 👍

@phanan
Copy link
Owner

phanan commented Nov 27, 2017

That's impossible, as we can't tell if c should be converted back to tr or ch. Think lossy compression.

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

No branches or pull requests

4 participants