{"id":26572982,"url":"https://github.com/kingsdigitallab/eb-pre","last_synced_at":"2026-04-29T09:02:38.203Z","repository":{"id":156107879,"uuid":"632631418","full_name":"kingsdigitallab/eb-pre","owner":"kingsdigitallab","description":"Computing Britannica - Exploratory work","archived":false,"fork":false,"pushed_at":"2026-04-02T12:30:08.000Z","size":135876,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-04-03T01:57:47.474Z","etag":null,"topics":["encyclopedia","proof-of-concept","semantic-search","topic-classification"],"latest_commit_sha":null,"homepage":"https://kingsdigitallab.github.io/eb-pre/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kingsdigitallab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-25T20:10:00.000Z","updated_at":"2026-04-02T12:30:14.000Z","dependencies_parsed_at":"2025-10-05T14:39:46.573Z","dependency_job_id":null,"html_url":"https://github.com/kingsdigitallab/eb-pre","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kingsdigitallab/eb-pre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingsdigitallab%2Feb-pre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingsdigitallab%2Feb-pre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingsdigitallab%2Feb-pre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingsdigitallab%2Feb-pre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kingsdigitallab","download_url":"https://codeload.github.com/kingsdigitallab/eb-pre/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kingsdigitallab%2Feb-pre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["encyclopedia","proof-of-concept","semantic-search","topic-classification"],"created_at":"2025-03-23T00:37:03.907Z","updated_at":"2026-04-29T09:02:38.191Z","avatar_url":"https://github.com/kingsdigitallab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Experimental prototypes](https://kingsdigitallab.github.io/eb-pre/) based on the dataset produced by the [Nineteenth-Century Knowledge Project](https://tu-plogan.github.io/source/c_about.html) led by Peter M. Logan.\n\n[Introduction to this prototype on KDL website](https://kdl.kcl.ac.uk/projects/encyclopedia-britannica-exploratory-prototypes/)\n\n[Documentation](https://github.com/kingsdigitallab/eb-pre/wiki)\n\n## How to reproduce this proof of concept?\n\nTo reproduce the POC from this repository and the corpus.\n\n### get the code \u0026 data\n1. create a new folder poc\n2. clone this repository into poc/eb-pre\n3. clone [the Encyclopedia repository](https://github.com/TU-plogan/kp-editions) in a separate folder poc/kp-editions \n\n### link the data into the code base\n\n4. `cd poc/eb-pre/data`\n5. `ln -s ../../kp-editions`\n\nAnd remove superseded copies of the encyclopedia entries:\n\n6. `rm -rf kp-editions/eb07/TXT_*/ kp-editions/eb07/XML_*/`\n\nNote that as of 2025Q2, eb07/TXT and /XML will always contain the latest version. Other TXT_* and XML_* folders should be ignored. \nHowever for eb09, the latest (and only) version is currently in TXT_v1 and XML_v1.\n\n## create \u0026 activate the python environment\n\n7. `cd poc/eb-pre`\n8. `python3 -m venv venv`\n9. `source venv/bin/activate`\n10. `pip install -U pip`\n11. `pip install -r build/requirements.txt`\n\n## (re-)index the entries with linguistic properties\n\n12. `cd poc/eb-pre/tools`\n13. `rm ../data/DOMAINS_SET/index.json` # see value for DOMAINS_SET in settings.py\n14. `python prep.py`\n\n## (re-)create the embeddings and classify entries into domains\n\n15. `cd poc/eb-pre/tools`\n16. `rm ../data/semantic_search/*`\n17. `python classify.py`\n18. `python compress.py ../data/semantic_search/semantic_search-edition_7-doc2vec-learn-mc_40-ng_1-tm_0.5-ch_sentence.tv2.json 2`\n\n## launch \u0026 visit the web application\n\n19. `cd poc/eb-pre/docs`\n20. `npm ci`\n21. `cd ..`\n22. `python3 -m http.server 8000`\n23. visit the following URL with your browser: http://localhost:8000/docs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingsdigitallab%2Feb-pre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkingsdigitallab%2Feb-pre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingsdigitallab%2Feb-pre/lists"}