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
Closed

Tokenization? #103

mattkleonard opened this issue Sep 13, 2017 · 1 comment

Comments

@mattkleonard
Copy link

@mattkleonard 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
Copy link
Owner

@kpu 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants