{"id":19162886,"url":"https://github.com/centre-for-humanities-computing/classic-topic","last_synced_at":"2025-05-07T11:21:25.730Z","repository":{"id":99222401,"uuid":"545977419","full_name":"centre-for-humanities-computing/classic-topic","owner":"centre-for-humanities-computing","description":"Web application for dynamic topic modelling on classical texts in the \"Computing antiquity\" project","archived":false,"fork":false,"pushed_at":"2023-03-28T09:23:48.000Z","size":297,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T21:25:34.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/centre-for-humanities-computing.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,"zenodo":null}},"created_at":"2022-10-05T09:59:15.000Z","updated_at":"2023-12-06T08:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"85476915-ee30-4577-88b1-59db7d0b1a71","html_url":"https://github.com/centre-for-humanities-computing/classic-topic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fclassic-topic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fclassic-topic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fclassic-topic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fclassic-topic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centre-for-humanities-computing","download_url":"https://codeload.github.com/centre-for-humanities-computing/classic-topic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866120,"owners_count":21816397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-09T09:13:25.992Z","updated_at":"2025-05-07T11:21:25.717Z","avatar_url":"https://github.com/centre-for-humanities-computing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Topiquity\n\n[![Code style: black](https://img.shields.io/badge/Code%20Style-Black-black)](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html)\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n[![Docker](https://badgen.net/badge/icon/docker?icon=docker\u0026label)](https://https://docker.com/)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n\nWeb application for dynamic topic modelling on classical texts in the \"Computing antiquity\" project.\n\n![Screenshot](./assets/screenshot.png)\n\n## Setup\n\nIn order for the application to run properly you will need a `dat/cleaned_corpus.csv` in the working directory. \u003cbr\u003e\nThis file has to contain a table with one column being `id_nummer` containing the IDs of the texts,\nthe other being `text` containing a whitespace-separated cleaned texts. \u003cbr\u003e\n\n### Debugging\n\nFor debugging purposes (or if you're just lazy to mess with docker) you may run the app by installing dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\nThen run the main script in the following fashion:\n\n```bash\ncd src \u0026\u0026 python3 main.py\n```\n\nThe server will listen at `localhost:8080`, you are free to open it up in your browser.\n\n### Deployment\n\nBoth a Dockerfile and a docker compose default configuration is included in the repository, these might aid you in deploying the application to a webserver of some sorts, or just run the app on your computer in an isolated environment.\nIt's easiest to get started by running the app in docker compose:\n\n```bash\ndocker compose up\n```\n\nThis will spin up a container and attach to `localhost:7011`\n\n## Known limitations\n\n- DMM and LSI don't work particularly well, sometimes not at all, you should use LDA or NMF as things stand right now. A project-agnostic topic investigation platform might be developed in the near future.\n- The code is heavily project-specific, if you want to use the application with a different corpus you will have to dig deep into the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Fclassic-topic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentre-for-humanities-computing%2Fclassic-topic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Fclassic-topic/lists"}