MCPcopy Create free account
hub / github.com/ashfawk/oceanhazard-detection / install_spacy_model

Function install_spacy_model

setup_python.py:44–47  ·  view source on GitHub ↗

Install spaCy English model

()

Source from the content-addressed store, hash-verified

42 "Installing Python requirements")
43
44def install_spacy_model():
45 """Install spaCy English model"""
46 return run_command(f"{sys.executable} -m spacy download en_core_web_sm",
47 "Installing spaCy English model")
48
49def download_nltk_data():
50 """Download required NLTK data"""

Callers 1

mainFunction · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected