Skip to content Skip to sidebar Skip to footer

Loading The Spacy German Language Model Into A Jupyter Notebook

This is the cell in notebook: #%% !python -m spacy download de_core_news_sm spacy_en = spacy.load('en_core_web_sm') spacy_de = spacy.load('de_core_news_sm') I get this error: OS

Solution 1:

Once you execute

!python -m spacy download de_core_news_sm
spacy_de = spacy.load('de_core_news_sm')
spacy_en = spacy.load('en_core_web_sm')

Simply restart your runtime . From Runtime > Restart runtime .And run

importspacynlp= spacy.load('de_core_news_sm') 

Works for me .Hope it was helpful

Post a Comment for "Loading The Spacy German Language Model Into A Jupyter Notebook"