'Can't find model 'en_core_sci_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory

import flair.datasets from flair.datasets 
import NCBI_DISEASE from flair.embeddings 
import WordEmbeddings, FlairEmbeddings,StackedEmbeddings from flair.models 
import SequenceTagger from flair.trainers import ModelTrainer
# 1. get the corpus 
corpus = NCBI_DISEASE() 
print(corpus)

/* Can't find model 'en_core_sci_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. */



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source