{"id":15360289,"url":"https://github.com/mkcor/caption-words","last_synced_at":"2026-02-25T17:33:32.573Z","repository":{"id":30276569,"uuid":"33828064","full_name":"mkcor/caption-words","owner":"mkcor","description":"Utility to find specific or over-represented words in (technical) documents (pages, documentation...)","archived":false,"fork":false,"pushed_at":"2018-01-28T22:40:38.000Z","size":2617,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T12:44:49.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkcor.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}},"created_at":"2015-04-12T18:17:59.000Z","updated_at":"2018-01-28T22:40:39.000Z","dependencies_parsed_at":"2022-09-21T22:10:17.604Z","dependency_job_id":null,"html_url":"https://github.com/mkcor/caption-words","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkcor/caption-words","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkcor%2Fcaption-words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkcor%2Fcaption-words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkcor%2Fcaption-words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkcor%2Fcaption-words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkcor","download_url":"https://codeload.github.com/mkcor/caption-words/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkcor%2Fcaption-words/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691580,"owners_count":23969182,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T12:49:06.210Z","updated_at":"2025-10-27T08:09:44.685Z","avatar_url":"https://github.com/mkcor.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caption-words\nUtility to find specific or over-represented words in (technical) documents (pages, documentation...)\n\nThis module lets you find the tf-idf of words in a web page\n(see [Wikipedia](http://en.wikipedia.org/wiki/Tf%E2%80%93idf)).\nThe idea is to find the words that most represent the content of this page\nwrt to a general use of the language (here, English).\n\n## Setup\n\n    $ virtualenv --python=python3.6 ~/.virtualenv/caption-words\n    $ source ~/.virtualenv/caption-words/bin/activate\n    $ pip install -r requirements.txt\n    $ deactivate\n\n## Data\n\nDownload `nltk` data into a system-wide directory:\n\n    $ sudo python -m nltk.downloader -d /usr/share/nltk_data all\n\nInput files are provided for convenience.\n\n### Frequency Word Lists\n[https://invokeit.wordpress.com/frequency-word-lists/](https://invokeit.wordpress.com/frequency-word-lists/)\n\n    $ unzip en-2012.zip\n\n### Test file\n\nFile `test.html` is page [https://docs.python.org/3/](https://docs.python.org/3/).\n\n## Running\n\nYou can run `term_frequency.py` as a standalone script:\n\n    $ source ~/.virtualenv/caption-words/bin/activate\n    $ python term_frequency.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkcor%2Fcaption-words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkcor%2Fcaption-words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkcor%2Fcaption-words/lists"}