Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Error in SpacyEncoder when language argument is passed #120

Open
enaserianhanzaei opened this issue Nov 15, 2021 · 0 comments
Open

Error in SpacyEncoder when language argument is passed #120

enaserianhanzaei opened this issue Nov 15, 2021 · 0 comments

Comments

@enaserianhanzaei
Copy link

Expected Behavior

from torchnlp.encoders.text import SpacyEncoder
encoder = SpacyEncoder(["This ain't funny.", "Don't?"], language='en

Actual Behavior

TypeError: init() got an unexpected keyword argument 'language'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant