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

from spacy.pipeline import SentenceSegmenter #6

Open
Yocodeyo opened this issue Sep 5, 2021 · 2 comments
Open

from spacy.pipeline import SentenceSegmenter #6

Yocodeyo opened this issue Sep 5, 2021 · 2 comments

Comments

@Yocodeyo
Copy link

Yocodeyo commented Sep 5, 2021

Hi, thank you for the interesting piece of work!

When I tried to preprocess my data, I encountered this error: ImportError: cannot import name 'SentenceSegmenter' from 'spacy.pipeline' when running parse.py. I checked for spacy documentation and it doesn't have the SentenceSegmenter feature. May I get your advice on how to solve this issue?

Thank you so much!

@jason-fries
Copy link
Contributor

Thanks for your interest @Yocodeyo ! What version of spaCy are you using? The current version of the preprocessing tools only support spaCy version 2.3.x so using 3.x could be the culprit.

@aryopg
Copy link

aryopg commented Dec 9, 2021

Hi @jason-fries, I believe that the requirements.txt specifies spacy==3.0.5. Maybe we can change that according to the version you mentioned?

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

3 participants