Is possible to keep spacy in memory to reduce the load time? [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . I want to use spacy as for NLP for an online service. Each time a user makes a request I call the script "my_script.py" which starts with: from spacy.en import English nlp = English() The problem I'm having is that those two lines take over 10 seconds, is it possible to keep English() in the ram or