Skip to content
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

Unable to add_pipe #4

Open
Krishna-Z opened this issue Aug 3, 2022 · 1 comment
Open

Unable to add_pipe #4

Krishna-Z opened this issue Aug 3, 2022 · 1 comment

Comments

@Krishna-Z
Copy link

Hi creator,

I have been unable to run the following command: nlp.add_pipe(ArguingLexiconParser(lang=nlp.lang))

As recommended in the error, I tried converting the add_pipe's argument to string: nlp.add_pipe('ArguingLexiconParser(lang=nlp.lang)') .

It still did not work and now there's a new error saying :
"can't find factory for ArguingLexiconParser(lang=nlp.lang) for Language English(en)."

Please can you help resolve this.

Thanks

@dominik-schwabe
Copy link

I made a fork that fixes this issue: https://github.com/dominik-schwabe/spacy_arguing_lexicon
Install with following command: pip install git+https://github.com/dominik-schwabe/spacy_arguing_lexicon

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

No branches or pull requests

2 participants