Closed joshlk closed 4 years ago
Could you please merge master in, and update the wrapper to use PyO3 0.10, similarly to what was done for tokenizers in https://github.com/rth/vtext/pull/69. Maybe that would help.
Updating to PyO3 0.10 seem to of done the trick. Importing BaseTokenize
also now works as well (not sure if that was PyO3 0.10 or something else).
Thanks @joshlk !
First attempt at including the
UnicodeSentenceTokenizer
in the Python package. I have two issues that I am unsure how to resolve:python3 setup.py develop
to compile the lib which runs without errors, when trying to import the package in Pythonimport _lib
I get the following fatal error:python/src/tokenize_sentence.rs
I have resorted to creating a second base classBaseTokenize2
(see line 14) as I am unsure how to importBaseTokenize
frompython/src/tokenize.rs