{"id":21070392,"url":"https://github.com/stencila/libdh","last_synced_at":"2025-07-01T08:07:47.651Z","repository":{"id":146684423,"uuid":"124160005","full_name":"stencila/libdh","owner":"stencila","description":"A library of Stencila-compatible functions for the Digital Humanities.","archived":false,"fork":false,"pushed_at":"2018-07-16T18:35:59.000Z","size":50,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T02:46:35.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stencila.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":"2018-03-07T01:19:30.000Z","updated_at":"2019-03-29T20:29:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a8f29d0-ec02-4d5c-ab1c-b8f3fe1bb2a1","html_url":"https://github.com/stencila/libdh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stencila/libdh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Flibdh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Flibdh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Flibdh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Flibdh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stencila","download_url":"https://codeload.github.com/stencila/libdh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Flibdh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262924966,"owners_count":23385460,"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-19T18:46:46.072Z","updated_at":"2025-07-01T08:07:47.628Z","avatar_url":"https://github.com/stencila.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `libdh`\n\n\nA library of [Stencila](http://stenci.la)-compatible functions for the Digital Humanities.\n\nThis library includes functions useful for Digital Humanities data analysis such as:\n  - Word Cloud\n    - This function generates word clouds for any given group of words. \n  - Collocation (words commonly appearing near each other)\n    - Word sets, grouped by cell or by sentence are then combined to create collocations. Words that often appear near each         other will be returned\n  - Concordance (the contexts of a given word or set of words)\n    - This function returns instances of the sentence or cell that the defined word appears in.\n  - N-grams (common two-, three-, etc.- word phrases)\n    - Similar to the word cloud function, the n-gram function generates word-cloud images with phrases as opposed to words.\n  - Entity recognition (identifying names, places, time periods, etc.)\n    - This function is more of a sorting or formatting function. It takes in a list of things and then returns what type of         things they are (i.e. people, places, times, etc).\n  - and more.\n  \n You are welcome to contribute to the development. \n \nA library of [Stencila](http://stenci.la)-compatible functions for the Digital Humanities. These functions are mostly text-based, charting and categorizing semantic information.\n\n\n## Testing\n\nThe `tests` folder has test files for each function. To run these tests install the [pytest package](https://docs.pytest.org/en/latest/) e.g. `pip install pytest` and then, in the top level folder, run:\n\n```bash\npython -m pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstencila%2Flibdh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstencila%2Flibdh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstencila%2Flibdh/lists"}