{"id":20196290,"url":"https://github.com/gpavanb1/lyrics-comparison","last_synced_at":"2025-04-10T10:43:02.374Z","repository":{"id":220477439,"uuid":"631178680","full_name":"gpavanb1/lyrics-comparison","owner":"gpavanb1","description":"Get lyrics using API and perform translation to calculate similarity between languages","archived":false,"fork":false,"pushed_at":"2024-02-02T16:35:41.000Z","size":71,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:38:23.765Z","etag":null,"topics":["ai4bharat","bert-embeddings","lyrics","movies","nlp","python"],"latest_commit_sha":null,"homepage":"","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/gpavanb1.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}},"created_at":"2023-04-22T07:20:23.000Z","updated_at":"2024-05-28T00:50:38.000Z","dependencies_parsed_at":"2024-11-14T07:15:20.066Z","dependency_job_id":null,"html_url":"https://github.com/gpavanb1/lyrics-comparison","commit_stats":null,"previous_names":["gpavanb1/lyrics-comparison"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2Flyrics-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2Flyrics-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2Flyrics-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpavanb1%2Flyrics-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpavanb1","download_url":"https://codeload.github.com/gpavanb1/lyrics-comparison/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199986,"owners_count":21063799,"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":["ai4bharat","bert-embeddings","lyrics","movies","nlp","python"],"created_at":"2024-11-14T04:23:10.015Z","updated_at":"2025-04-10T10:43:02.353Z","avatar_url":"https://github.com/gpavanb1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lyrics Comparison\n\n![Made with love in India](https://madewithlove.now.sh/in?heart=true)\n\nCompare lyrics between languages by just providing the title\n\nThis repository contains integration to [Genius API client](https://docs.genius.com/) or [OpenAI](https://openai.com/blog/openai-api) for fetching lyrics and uses [LaBSE](https://huggingface.co/sentence-transformers/LaBSE) [1] and [AI4Bharat transliteration](https://pypi.org/project/ai4bharat-transliteration/) [2] for translating and calculating similarity.\n\n## How to execute?\n\nJust run \n```\npython main.py --mode [global, local] \u003c--source [genius, openai]\u003e \n```\n\nThose in `[` indicate possible options and those in `\u003c` indicate optional arguments\n\n## Local lyrics translation\n\nTo utilize lyrics that are available locally, please create a `lyrics_text` folder with subfolders as `tamil` and `telugu`\n\nYou can then add files with song names in lowercase and spaces replaced by `_`. For example, in `lyrics_text/tamil`, you can have a file named `pachai_nirame.txt`.\n\n\n## Example\nThis repository includes an example where the files have already been downloaded. We will leave it upto the user to source lyrics from an appropriate source.\n\n![example](./images/example.png)\n\n## Whom to contact?\n\nPlease direct your queries to [gpavanb1](http://github.com/gpavanb1)\nfor any questions.\n\n## References\n\n[1] Feng, F., Yang, Y., Cer, D., Arivazhagan, N., \u0026 Wang, W. (2020). Language-agnostic BERT sentence embedding. arXiv preprint arXiv:2007.01852.\n\n[2] Madhani, Y., Parthan, S., Bedekar, P., Khapra, R., Seshadri, V., Kunchukuttan, A., ... \u0026 Khapra, M. M. (2022). Aksharantar: Towards building open transliteration tools for the next billion users. arXiv preprint arXiv:2205.03018.\n\n## Acknowledgements\n\nMany thanks to discussions with Prafulla Chandra A and Sankeerth Rao K on bringing this to fruition","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Flyrics-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpavanb1%2Flyrics-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpavanb1%2Flyrics-comparison/lists"}