Abhijit-2592 / spacy-langdetect

A fully customisable language detection pipeline for spaCy
MIT License
93 stars 6 forks source link

Support for SpaCy 3 #5

Closed maxtrem closed 3 years ago

maxtrem commented 3 years ago

Hey! I'm just wondering if there will be support for the new SpaCy version 3?

Thanks!

davidrs commented 3 years ago

If it helps, I think the main change needed is adding this decorator to it: https://spacy.io/usage/v3#migrating-add-pipe

maxtrem commented 3 years ago

@davidrs Thanks! I have gone now with solution using pycld2. This is pretty fast and can also be used with the decorator you mentioned.

Thanks anyway!