Liebeck / spacy-sentiws

German sentiment scores with SentiWS as extension for spaCy
MIT License
36 stars 6 forks source link

Update extension for spaCy 3 #4

Closed stereolith closed 3 years ago

stereolith commented 3 years ago

This updates the extension to support spaCy 3.

The component is registered with the spaCy Language.factory decorator by name ("sentiws"). Usage changes slightly, the user does not need to initialize an spaCySentiWS instance but instead references the component by name in add_pipe() and pass the data path in an object in the config parameter.

Fixes #3

Liebeck commented 3 years ago

@stereolith Thank you very much! It may take me a while to upgrade the pip repository. It's been a while since I connected to it.

Liebeck commented 2 years ago

@stereolith Thanks again for the pull request! I finally found the time to relearn how to upgrade a Python package. Finally available via pip install