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

Tokenizers dispatch in vectorizers #53

Merged
merged 16 commits into from
Jun 7, 2019
Merged

Tokenizers dispatch in vectorizers #53

merged 16 commits into from
Jun 7, 2019

Conversation

rth
Copy link
Owner

@rth rth commented May 3, 2019

Follow up on #48, allows to select the tokenizer used in vectorizers.

As mentioned in #48 (comment) this will require PyO3 O.7.0 that includes PyO3/pyo3#461 (hopefully released in the coming days) or a way to avoid using explicitly defined lifetimes in python wrapper methods for vectorizers.

@rth rth changed the title WIP Modifying tokenizers used in vectorizers Tokenizers dispatch in vectorizers Jun 7, 2019
@rth
Copy link
Owner Author

rth commented Jun 7, 2019

Tokenizer dispatch should now work in vectorizers in Rust. Though in view of PyO3/pyo3#503 it's still unclear how to allow changing the tokenizer on the Python side.

@rth rth merged commit 268738d into master Jun 7, 2019
@rth rth deleted the tokenizer-dyn-dispatch branch June 7, 2019 22:36
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