{"id":21493582,"url":"https://github.com/alienkevin/l2z","last_synced_at":"2025-07-12T02:08:02.960Z","repository":{"id":97740258,"uuid":"594568749","full_name":"AlienKevin/L2Z","owner":"AlienKevin","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-29T16:57:14.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:50:45.505Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlienKevin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-29T00:05:08.000Z","updated_at":"2023-01-29T16:53:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"2af5556b-6460-4ff5-8eaf-ebfc923d39ab","html_url":"https://github.com/AlienKevin/L2Z","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlienKevin/L2Z","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FL2Z","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FL2Z/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FL2Z/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FL2Z/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlienKevin","download_url":"https://codeload.github.com/AlienKevin/L2Z/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FL2Z/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923400,"owners_count":23683738,"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-23T15:43:32.966Z","updated_at":"2025-07-12T02:08:02.946Z","avatar_url":"https://github.com/AlienKevin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sources\n1. `new.txt` is a list of words used in businesses: https://www.vocabulary.com/lists/234528#view=list\n2. `core.txt` is a list of words required for the College English Test in China: https://github.com/mahavivo/english-wordlists/blob/master/CET4_edited.txt\n* The CET-4 is mandatory for university students in China who are not English majors. It is also a prerequisite for a bachelor's degree. Many employers in China prefer applicants with CET-4 or even CET-6 certification. (https://www.wikiwand.com/en/College_English_Test)\n\n# Prompt Algorithm\n1. Prompt GPT-3 x times for sentences containing `new.txt` words.\nTo do this generate set of prompts following the structure:\n\"Generate a ___business___ conversation containing the word ___\"confined\"___\"\n\nwhere business is the topic of the conversation and confined is the word to include.\n\n2. Filter out the sentences that contains words not in `core.txt` or `new.txt`. \n\n```json\n{\n    \"laborious\": \"Person 1: \\\"This project is proving to be quite laborious. We've been working on it for weeks and still haven't made much progress.\\\"\\n\\nPerson 2: \\\"I know, it's been a challenge. But I think if we keep at it, we'll eventually get there.\\\"\",\n    \"inevitable\": \"Person 1: \\\"We need to start planning for the inevitable changes that will come with the new regulations.\\\"\\n\\nPerson 2: \"Yes, it's inevitable that we'll have to make some adjustments. What do you think our first step should be?\\\"\"\n}\n```\n\n# Dataflow\n1. Start with the new words\n2. Build prompts with each of the new words\n3. Get responses from GPT-3 api\n4. Parse the responses\n```json\n{\n    \"laborious\": [\n        {\n            \"synonoyms\": [\"a\", \"b\", \"c\"],\n            \"chinese\": \"辛苦的\",\n            \"examples\": [\n                \"This project is proving to be quite laborious. We've been working on it for weeks and still haven't made much progress.\",\n                \"I know, it's been a challenge. But I think if we keep at it, we'll eventually get there.\"\n            ]\n        },\n        [\n            \"I can't believe how laborious this project is taking me. I thought it would be much easier!\",\n            \"Yeah, it's definitely a lot more work than we anticipated. But I'm sure if we keep at it, we'll get it done eventually.\"\n        ]\n    ]\n}\n```\n5. Sort them into two theoretical users\n\n# Frontend\n\nhttps://github.com/AlienKevin/L2Z_app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fl2z","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falienkevin%2Fl2z","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fl2z/lists"}