{"id":20462060,"url":"https://github.com/bact/policy-topic-model","last_synced_at":"2025-08-03T17:37:22.468Z","repository":{"id":160405705,"uuid":"475962734","full_name":"bact/policy-topic-model","owner":"bact","description":"Topic model of policy papers on artificial intelligence","archived":false,"fork":false,"pushed_at":"2024-11-10T06:05:48.000Z","size":983,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T12:46:38.860Z","etag":null,"topics":["policy-analysis","topic-modeling"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bact.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":"2022-03-30T16:28:28.000Z","updated_at":"2024-11-10T06:06:32.000Z","dependencies_parsed_at":"2024-11-10T07:17:41.771Z","dependency_job_id":"9c5210e0-307d-48d3-8b6c-a6ebd5777187","html_url":"https://github.com/bact/policy-topic-model","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/bact%2Fpolicy-topic-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fpolicy-topic-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fpolicy-topic-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fpolicy-topic-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bact","download_url":"https://codeload.github.com/bact/policy-topic-model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242018976,"owners_count":20058710,"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":["policy-analysis","topic-modeling"],"created_at":"2024-11-15T12:29:48.519Z","updated_at":"2025-03-05T11:32:31.399Z","avatar_url":"https://github.com/bact.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Policy Topic Model\n\nMy work during an internship at [UCD Centre for Digital Policy](https://digitalpolicy.ie/) in 2022.\n\n## Pre-processing\n\n- Download the policy documents from the shared Google Drive, put them in `data/nat-ai/orig`\n  - See list of documents here: https://docs.google.com/spreadsheets/d/1e6nCWAKRSAo3cq4O-3WUKtFp5AR7up_cr8hY2jI12Zg/edit?usp=sharing \n- Run `./pdf-to-txt.sh`\n- Text files should then be populated in `data/nat-ai/text`\n\n## Visualization\n\n- Try https://github.com/bact/policy-topic-model/blob/main/notebooks/topic-vis.ipynb\n\n## Dependencies\n\n- stopwordsiso - for stopword list\n- NLTK - for lemmatizer\n- scikit-learn - for document classifier (using Latent Dirichlet Allocation - LDA)\n- pyLDAvis - for visualization\n- Apache PDFBox 3 is required for text extraction from PDF.\n  - Download from https://pdfbox.apache.org/download.html \n  - Rename the jar file to `pdfbox-app-3.jar` and put it inside `lib/` directory\n  - Apache PDFBox 3 is licensed under the Apache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbact%2Fpolicy-topic-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbact%2Fpolicy-topic-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbact%2Fpolicy-topic-model/lists"}