all AI news
Import part of Spacy library
Does anybody know if you can just import part of the Spacy library you need?
I find “import spacy” to be the slowest part of using spacy.
What takes so long to load? All the pipeline scripts or something? Because loading the language model with spacy.load() and constructing the doc object with doc(text) are faster than the initial import.
I’d like to just load the pipelines I need or something from the module, like “from spacy import …”
Does anyone …!-->