Typo in example code on spacy universe
AtanuCSE opened this issue · 1 comments
AtanuCSE commented
Describe the bug
Showing the following error in Google Colab: No module named 'pysbd.util'
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-19-50881d57442a> in <module>()
1 import spacy
----> 2 from pysbd.util import PySBDFactory
ModuleNotFoundError: No module named 'pysbd.util'
To Reproduce
Open a notebook in Google Colab
!pip install spacy
!pip install git+https://github.com/nipunsadvilkar/pySBD # Installation gets successful
import spacy
from pysbd.util import PySBDFactory # This line is generating the error
Expected behavior
No error
nipunsadvilkar commented
Fixed in explosion/spaCy#5821