{"id":19784041,"url":"https://github.com/openeventdata/political-actor-recommendation","last_synced_at":"2025-10-13T01:48:55.189Z","repository":{"id":81534861,"uuid":"70943699","full_name":"openeventdata/political-actor-recommendation","owner":"openeventdata","description":"Automatic Political Actor Recommendation In Real Time (APART)","archived":false,"fork":false,"pushed_at":"2017-11-02T20:31:47.000Z","size":43653,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-08T08:46:43.961Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openeventdata.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,"zenodo":null}},"created_at":"2016-10-14T20:08:37.000Z","updated_at":"2024-02-02T16:26:56.000Z","dependencies_parsed_at":"2023-05-05T10:31:06.900Z","dependency_job_id":null,"html_url":"https://github.com/openeventdata/political-actor-recommendation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openeventdata/political-actor-recommendation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openeventdata%2Fpolitical-actor-recommendation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openeventdata%2Fpolitical-actor-recommendation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openeventdata%2Fpolitical-actor-recommendation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openeventdata%2Fpolitical-actor-recommendation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openeventdata","download_url":"https://codeload.github.com/openeventdata/political-actor-recommendation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openeventdata%2Fpolitical-actor-recommendation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013906,"owners_count":26085326,"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-10-12T02:00:06.719Z","response_time":53,"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-11-12T06:10:06.716Z","updated_at":"2025-10-13T01:48:55.184Z","avatar_url":"https://github.com/openeventdata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Automatic Political Actor Recommendation In Real-Time\n \nThis tool can be used to recommend popular actors based on the newspaper articles collected within a time-span. Here is the abstract of the related \npaper.\n```\n  Extracting a structured representation of events (political, social etc.) has become an interesting domain in the \n  computational and social sciences. One approach is to use dictionary-based pattern look-ups to identify actors and \n  actions involved in potential events represented in who-did-what-to-whom format (e.g., CAMEO). A key complication \n  of this approach is updating the dictionaries with new actors (e.g., when a new president takes office). Currently, \n  the dictionaries are curated by humans, updated infrequently, and at high cost. This means that tools dependent on \n  the dictionaries (e.g., PETRARCH) overlook events because they are missing dictionary entries. In this paper, we \n  address how to extend the dictionaries used to identify actors. We proposed a frequency-based actor ranking algorithm \n  using partial string matching-based (e.g., Levenshtein/Edit distance, MinHash, etc.) actor grouping for dynamic new \n  actor recommendations over multiple time windows. Moreover, we suggest the associated evolving role of recommended \n  actors from the role of co-related political actors in the existing CAMEO actor dictionary. Experiments show a high\n   percentage of the recommended actors are retained after end-user feedback. \n```\n\n## Input\n\nThe tool takes newspaper articles as input, divided into several files (we consider them windows). Each of the file contains Core NLP parsed\nnewsa articles.\n\nA sample data-set can be found here: https://utdallas.box.com/s/33bue9ci9241v1btuwozsh8mfh1rda1i\n \n## Output\nThe output of the tool is set of possible political actors and suggestion of a list of roles for each of them.\n\n\n## Requirement\n\nThe tool has following requirements - \n- Named Entity Recognition in Core NLP parse of an article.\n- PETRARCH2 output which contains nouns that PETRARCH2 found inside each sentence.\n \n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeneventdata%2Fpolitical-actor-recommendation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopeneventdata%2Fpolitical-actor-recommendation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeneventdata%2Fpolitical-actor-recommendation/lists"}