Web: https://www.reddit.com/r/LanguageTechnology/comments/sd2kmw/import_part_of_spacy_library/

Jan. 26, 2022, 10:04 a.m. | /u/jssmith42

Natural Language Processing reddit.com

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 …

languagetechnology library part spacy

Machine Learning Product Manager (Europe, Remote)

@ FreshBooks | Germany

Field Operations and Data Engineer, ADAS

@ Lucid Motors | Newark, CA

Machine Learning Engineer - Senior

@ Novetta | Reston, VA

Analytics Engineer

@ ThirdLove | Remote

Senior Machine Learning Infrastructure Engineer - Safety

@ Discord | San Francisco, CA or Remote

Internship, Data Scientist

@ Everstream Analytics | United States (Remote)