{"id":23291015,"url":"https://github.com/jplusplus/wikileaks-cg-analyser","last_synced_at":"2025-08-19T02:34:23.582Z","repository":{"id":11642081,"uuid":"14146482","full_name":"jplusplus/wikileaks-cg-analyser","owner":"jplusplus","description":"Cable processing tools.","archived":false,"fork":false,"pushed_at":"2013-11-10T00:19:59.000Z","size":392,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-14T04:55:28.849Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jplusplus.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":"2013-11-05T16:12:47.000Z","updated_at":"2023-08-09T00:45:20.000Z","dependencies_parsed_at":"2022-09-23T00:32:12.599Z","dependency_job_id":null,"html_url":"https://github.com/jplusplus/wikileaks-cg-analyser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jplusplus/wikileaks-cg-analyser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-cg-analyser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-cg-analyser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-cg-analyser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-cg-analyser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplusplus","download_url":"https://codeload.github.com/jplusplus/wikileaks-cg-analyser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-cg-analyser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271090381,"owners_count":24697582,"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-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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-12-20T05:13:52.379Z","updated_at":"2025-08-19T02:34:23.556Z","avatar_url":"https://github.com/jplusplus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikileaks: Cables analyser\nThis project includes 4 modules to ease the document analyse: an ngrams extractor, a string cleaner, a geo references extractor and a database connector (PostGreSQL).\n\n## Installation\n\n**1. Prerequisite**\n```bash\nsudo apt-get install build-essential git-core python python-pip python-dev\nsudo pip install virtualenv\n```\n\n**2.  Download the project**\n```bash\ngit clone git@github.com:jplusplus/wikileaks-cg-analyser.git\n```\n\n**3. Install**\n```bash\nmake install\n```\n## Usage\n*Tokens* alway represents the string to analyse.\n\n### String cleaner\n```bash\n$ python ./cleaner.py\nusage: cleaner.py [-h] [-l LANGUAGE] [-c CACHE] [--slugify] [--no-slugify] tokens```\n```\n#### Exemple\nRemove all `french` stopwords and slugify the string:\n```bash\n$ python ./cleaner.py -l french --slugify \"Les sanglots longs des violons de l'automne blessent mon coeur d'une langueur monotone.\"\nsanglots longs violons automne blessent coeur langueur monotone\n```\n\n### Ngrams extractor\n```bash\n$ python ./ngrams.py\nusage: ngrams.py [-h] [-m N_MIN] [-x N_MAX] tokens\n```\n\n### Geo references extractor\n```bash\n$ python ./geo.py\nusage: geo.py [-h] {city,country} tokens\n```\n\n\n## License\n\nThis software is under the [GNU GENERAL PUBLIC LICENSE v3](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fwikileaks-cg-analyser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplusplus%2Fwikileaks-cg-analyser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fwikileaks-cg-analyser/lists"}