{"id":16516733,"url":"https://github.com/adamspannbauer/nlhp","last_synced_at":"2026-06-05T18:31:58.714Z","repository":{"id":83432160,"uuid":"235113386","full_name":"AdamSpannbauer/nlhp","owner":"AdamSpannbauer","description":"Random NLP tasks with Harry Potter text","archived":false,"fork":false,"pushed_at":"2020-12-31T14:30:36.000Z","size":33260,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T05:28:45.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/AdamSpannbauer.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":"2020-01-20T13:56:24.000Z","updated_at":"2020-12-31T14:30:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f9cbfe9-fb8d-4684-b0d8-b7c6ffe9332d","html_url":"https://github.com/AdamSpannbauer/nlhp","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/AdamSpannbauer%2Fnlhp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamSpannbauer%2Fnlhp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamSpannbauer%2Fnlhp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamSpannbauer%2Fnlhp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamSpannbauer","download_url":"https://codeload.github.com/AdamSpannbauer/nlhp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549117,"owners_count":19980476,"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-10-11T16:26:27.171Z","updated_at":"2025-03-02T18:19:15.784Z","avatar_url":"https://github.com/AdamSpannbauer.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nlHP\n\nRandom NLP tasks with Harry Potter text.  Probably written in python... might use R for more nostalgia and for Harry Pot-R pun potential.\n\nData gathered from [bradleyboehmke's `harrypotter` R package on GitHub](https://github.com/bradleyboehmke/harrypotter) (tbh, not sure legality of the whole thing, so the data directory is excluded from the repo to avoid redistributing any potentially legally sketchy stuff).\n\n## House Wordclouds\n\n#### Workflow\n\n* Parse books into sentences with `spacy`\n* Filter sentences to where each of the houses were mentioned\n* Create a wordcloud with each house's sentences using their Pottermore crest as the mask/coloring\n\n#### Output\n\n\u003cp align='center'\u003e\n  \u003cimg src='wordclouds/Ravenclaw.png' width='90%'\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  \u003cimg src='wordclouds/Hufflepuff.png' width='90%'\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  \u003cimg src='wordclouds/Slytherin.png' width='90%'\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  \u003cimg src='wordclouds/Gryffindor.png' width='90%'\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamspannbauer%2Fnlhp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamspannbauer%2Fnlhp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamspannbauer%2Fnlhp/lists"}