{"id":25198673,"url":"https://github.com/tristan-mcinnis/spacy-models-setup-and-testing","last_synced_at":"2026-05-01T09:31:23.886Z","repository":{"id":276548842,"uuid":"929597679","full_name":"tristan-mcinnis/Spacy-Models-Setup-and-Testing","owner":"tristan-mcinnis","description":"A Python utility for downloading, storing, and testing Spacy language models for English and Chinese NLP tasks.","archived":false,"fork":false,"pushed_at":"2025-02-08T23:15:11.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T18:13:07.651Z","etag":null,"topics":["chinese","english","nlp","python","simple-project","spacy","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tristan-mcinnis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-08T23:07:17.000Z","updated_at":"2025-02-08T23:15:54.000Z","dependencies_parsed_at":"2025-02-09T00:19:15.208Z","dependency_job_id":"d1376bb6-7ed3-418c-843c-1425b624f58b","html_url":"https://github.com/tristan-mcinnis/Spacy-Models-Setup-and-Testing","commit_stats":null,"previous_names":["tristan-mcinnis/spacy-models-setup-and-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tristan-mcinnis/Spacy-Models-Setup-and-Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FSpacy-Models-Setup-and-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FSpacy-Models-Setup-and-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FSpacy-Models-Setup-and-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FSpacy-Models-Setup-and-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tristan-mcinnis","download_url":"https://codeload.github.com/tristan-mcinnis/Spacy-Models-Setup-and-Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristan-mcinnis%2FSpacy-Models-Setup-and-Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chinese","english","nlp","python","simple-project","spacy","testing"],"created_at":"2025-02-10T03:18:08.047Z","updated_at":"2026-05-01T09:31:23.859Z","avatar_url":"https://github.com/tristan-mcinnis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spacy-Models-Setup-and-Testing\nA Python utility for downloading, storing, and testing Spacy language models for English and Chinese NLP tasks.\n\n# Spacy Models Setup and Testing\n\nA Python utility for downloading, storing, and testing Spacy language models for English and Chinese NLP tasks.\n\n## Overview\n\nThis repository contains scripts to automate the setup and testing of Spacy language models, specifically:\n- English: `en_core_web_sm`\n- Chinese: `zh_core_web_sm`, `zh_core_web_md`, `zh_core_web_lg`\n\nThe models are downloaded and stored in a custom directory (`./data/models/`) for easy access and management.\n\n## Model Sizes\n- zh_core_web_sm: ~12MB\n- zh_core_web_md: ~23MB\n- zh_core_web_lg: ~46MB\n- en_core_web_sm: ~12MB\n\n## Requirements\n\n```bash\npip install spacy\n```\n\n## Directory Structure\n\n.\n├── README.md\n├── setup_spacy_models.py\n└── data/\n    └── models/\n        ├── en_core_web_sm/\n        ├── zh_core_web_sm/\n        ├── zh_core_web_md/\n        └── zh_core_web_lg/\n\n\n## Usage\nimport spacy\n\n# Load English model\nnlp_en = spacy.load('./data/models/en_core_web_sm')\n\n# Load Chinese model (large)\nnlp_zh = spacy.load('./data/models/zh_core_web_lg')\n\n# Process text\ndoc_en = nlp_en(\"This is a test sentence.\")\ndoc_zh = nlp_zh(\"这是一个测试句子。\")\n\n\n\n•Automated download and installation of Spacy models\n•Custom directory storage\n•Model testing with sample texts\n•Token and POS tag demonstration\n•Named Entity Recognition testing\n•Error handling and validation\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristan-mcinnis%2Fspacy-models-setup-and-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftristan-mcinnis%2Fspacy-models-setup-and-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristan-mcinnis%2Fspacy-models-setup-and-testing/lists"}