Skip to content

Tokenizers dispatch in vectorizers#53

Merged
rth merged 16 commits intomasterfrom
tokenizer-dyn-dispatch
Jun 7, 2019
Merged

Tokenizers dispatch in vectorizers#53
rth merged 16 commits intomasterfrom
tokenizer-dyn-dispatch

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