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

Advanced tokenization #42

Merged
merged 14 commits into from
Jan 3, 2018
Merged

Advanced tokenization #42

merged 14 commits into from
Jan 3, 2018

Conversation

guillaumekln
Copy link
Contributor

This PR adds advanced tokenization by using OpenNMT's Tokenizer as a plugin. It also adds the detokenization logic when saving inference or evaluation predictions.

Closes #24.

@guillaumekln guillaumekln merged commit 298f117 into master Jan 3, 2018
@guillaumekln guillaumekln deleted the advanced-tokenization branch January 3, 2018 13:19
leod pushed a commit to leod/OpenNMT-tf that referenced this pull request Jun 3, 2023
* Add the OpenNMT tokenizer as a third party

* Add detokenization logic

* Add learn_bpe.py script

* Replace spaces in CharacterTokenizer

* Fix encoding issue when redirecting tokenization output

* Move stream tokenization to the library

* Build tokenizer plugin in Travis

* Add BLEU evaluator variant which applies a light tokenization

* Cleanup

* Add documentation

* Fix link

* Complete the README

* Fix tokenization configuration loading

* Add missing instruction
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.

1 participant