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

Tokenization? #103

Closed
mattkleonard opened this Issue Sep 13, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@mattkleonard
Copy link

mattkleonard commented Sep 13, 2017

In the Corpus Formatting Notes, it states that the input data should be tokenized. I'm unclear what the actual formatting of the input text should be. Is it sufficient to have each sentence on a separate line? Does each sentence need to be word tokenized?

Thank you

@kpu

This comment has been minimized.

Copy link
Owner

kpu commented Sep 13, 2017

It's generally good practice to tokenize first so that "foo," turns into "foo ," instead of treating these as separate words. However, nobody can agree on what the exact tokenization rules should be. https://github.com/kpu/preprocess has some stuff based on the Moses tokenizer.

@kpu kpu closed this Sep 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.