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

Cleanup Token structure #153

Merged
merged 10 commits into from
Aug 3, 2020

Conversation

guillaumekln
Copy link
Collaborator

  • Case regions are serialization details and should not be properties of the class
  • The index attribute was only used for the detokenization with ranges because it was convenient, but it should not be a property

@guillaumekln guillaumekln merged commit f091893 into OpenNMT:master Aug 3, 2020
@guillaumekln guillaumekln deleted the cleanup-token-struct branch August 3, 2020 09:54
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