-
Notifications
You must be signed in to change notification settings - Fork 94
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
Improve Preprocessing Speed #27
Comments
Hi! If you want to contribute, feel free to open a pull request :) Thanks, Silvia |
Thanks - I'll work on this and submit a pull request. |
Thank you! Let me know if you have any questions. Silvia |
how are we supposed to generate this vocabulary.tsx file in order to use this dataset = preprocessor.preprocess_dataset(documents_path=r'..\corpus.txt', labels_path=r'..\labels.txt') |
Preprocessing currently takes a long time for large datasets. One way to improve the speed is to use Spacy pipes, particularly for lemmatization. Preprocessing is a very useful class, that can do a lot with just simple argument configuration.
I'm happy to contribute code to make this change.
The text was updated successfully, but these errors were encountered: