-
Notifications
You must be signed in to change notification settings - Fork 693
Add Tokenizer custom token mapper support #2184
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
Conversation
1af5611 to
2bd5c9c
Compare
novartole
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the patch! Please have a look at my suggestions.
b4445d5 to
8324527
Compare
novartole
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8324527 to
284f512
Compare
|
@iffyio Could you review please? |
284f512 to
141363b
Compare
589f832 to
e83a0d4
Compare
iffyio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @askalt!
|
@askalt could you take a look at the conflicts on the branch when you get some time? |
This patch adds a method to map tokens with provided mapper during tokenization. This way tokens could be replaced without an additional pass.
e83a0d4 to
cc288fe
Compare
Yep, done, thank you for review! |
This patch adds a method to map tokens with provided mapper during
tokenization. This way tokens could be replaced without an additional
pass.