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

how to encode Korean text input file? #65

Open
majinman opened this issue Sep 18, 2017 · 1 comment
Open

how to encode Korean text input file? #65

majinman opened this issue Sep 18, 2017 · 1 comment

Comments

@majinman
Copy link

When I use Korean test as the input.txt, error occurs like the following.

UnicodeDecodeError: 'cp949' codec can't decode byte 0xff in position 0: illegal multibyte sequence

how can I make computer learn Korean text?

Plz, help me.

@patakk
Copy link

patakk commented Nov 30, 2017

If you look at the train.py code, you'll see there's an --input_encoding argument to which you supply some of these. I think you need cp949.

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

2 participants