Skip to content

Support for Swedish

Compare
Choose a tag to compare
@sorenlind sorenlind released this 19 Mar 21:45
· 12 commits to master since this release

This release adds support for Swedish 🇸🇪.

Consequently, the API has changed: When loading a model you now need to specify a language (either 'da' or 'sv') as shown below.

Loading the standalone model:

lemmatizer = lemmy.load('da') # use 'sv' for Swedish

Load the spaCy pipeline component:

pipe = lemmy.pipe.load('da') # use 'sv' for Swedish