{"id":28028943,"url":"https://github.com/mit-ccc/message-translation","last_synced_at":"2025-09-02T18:48:05.282Z","repository":{"id":89069845,"uuid":"437159602","full_name":"mit-ccc/message-translation","owner":"mit-ccc","description":"An assistive writing tool to construct community-centric messages","archived":false,"fork":false,"pushed_at":"2021-12-22T18:26:40.000Z","size":18924,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-11T07:35:37.714Z","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":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mit-ccc.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":"2021-12-11T01:33:33.000Z","updated_at":"2022-01-20T00:52:13.000Z","dependencies_parsed_at":"2023-03-07T06:15:13.749Z","dependency_job_id":null,"html_url":"https://github.com/mit-ccc/message-translation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mit-ccc/message-translation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mit-ccc%2Fmessage-translation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mit-ccc%2Fmessage-translation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mit-ccc%2Fmessage-translation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mit-ccc%2Fmessage-translation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mit-ccc","download_url":"https://codeload.github.com/mit-ccc/message-translation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mit-ccc%2Fmessage-translation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273333500,"owners_count":25086972,"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-09-02T02:00:09.530Z","response_time":77,"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":"2025-05-11T07:35:30.813Z","updated_at":"2025-09-02T18:48:05.269Z","avatar_url":"https://github.com/mit-ccc.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# message-translation \n\n[![License: CC BY-NC 4.0](https://licensebuttons.net/l/by-nc/4.0/80x15.png)](https://creativecommons.org/licenses/by-nc/4.0/)\n\nAn assistive writing tool to analyze linguistic and cultural variation across communities\n\n## Environment Setup\n\nPlease run the following:\n\n```\nconda create -n message python=3.8\npip install -r requirements.txt\n```\n\n## Dataset\n\nYou can follow the instructions from the public [BLM Twitter dataset](https://github.com/sjgiorgi/blm_twitter_corpus) to download tweets using our filtered tweetid to generate a smaller dataset which contains ~200K pro-BLM tweets and ~100K anti-BLM tweets. The preprocessing code and data are [here](https://github.com/social-machines/message-translation/tree/main/preprocessing). After that, move the dataset to `./data/blm_alm/raw/` such that you have the following two files: `pro_blm_200k.txt` and `anti_blm_100k.txt`. \n\n\n## Semantic Shift Analysis\n\n```\ncd semantic_shift\n# download BERTweet to your local machine\npython download_bertweet.py\nsh ./bash_scripts/compute_semantic_shifts.sh\n```\n\nCheck the [notebook](https://github.com/social-machines/message-translation/blob/main/semantic_shift/analysis/blm-semantic-change-analysis.ipynb) to see the analysis.\n\n## Cultural and Ideological Analysis\n\n```\ncd ideology-alignment\nsh train_script.sh\n```\n\nCheck the [notebook](https://github.com/social-machines/message-translation/blob/main/ideology-alignment/src/analysis/Misalignments.ipynb) to see the analysis.\n\n## Acknowledgement\n\nThis github is developed on the basis of [UiO-UvA at SemEval-2020 Task 1](https://github.com/akutuzov/semeval2020) and [Aligning Multidimensional Worldviews and Discovering Ideological Differences](https://github.com/jmilbauer/worldview-ideology). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmit-ccc%2Fmessage-translation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmit-ccc%2Fmessage-translation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmit-ccc%2Fmessage-translation/lists"}