{"id":21458083,"url":"https://github.com/shubham0204/glove-android","last_synced_at":"2025-07-22T19:33:25.853Z","repository":{"id":153092645,"uuid":"627683225","full_name":"shubham0204/glove-android","owner":"shubham0204","description":"Power of GloVe word embeddings in Android","archived":false,"fork":false,"pushed_at":"2024-04-12T05:17:28.000Z","size":97239,"stargazers_count":16,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T04:16:31.026Z","etag":null,"topics":["android","chaquopy","context-understanding","glove-embeddings","kotlin","natural-language-processing","word-embeddings"],"latest_commit_sha":null,"homepage":"https://shubham0204.github.io/glove-android/","language":"Kotlin","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/shubham0204.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-04-14T01:29:29.000Z","updated_at":"2025-04-09T10:24:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"b46c68a0-a98d-4824-97e4-ff4105459b1e","html_url":"https://github.com/shubham0204/glove-android","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/shubham0204/glove-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2Fglove-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2Fglove-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2Fglove-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2Fglove-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubham0204","download_url":"https://codeload.github.com/shubham0204/glove-android/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubham0204%2Fglove-android/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266561285,"owners_count":23948624,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["android","chaquopy","context-understanding","glove-embeddings","kotlin","natural-language-processing","word-embeddings"],"created_at":"2024-11-23T06:17:38.011Z","updated_at":"2025-07-22T19:33:20.841Z","avatar_url":"https://github.com/shubham0204.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `glove-android`: Using GloVe word embeddings in Android\n\n`glove-android` is an Android library that provides an interface for using popular [GloVe](https://nlp.stanford.edu/projects/glove/) \nword embeddings.\n\n\u003chtml\u003e\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/41076823/232805813-e6b28680-1865-4add-9fd2-8712d20abb0c.png\" width=\"200\" /\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/41076823/232805936-82a0f3fb-dcd6-4e7f-9ab2-db2793a06c39.png\" width=\"200\" /\u003e \n  \u003cimg src=\"https://user-images.githubusercontent.com/41076823/232806007-ad5e48df-403a-4aca-87b5-be6f660b303e.png\" width=\"200\" /\u003e\n\u003c/p\u003e\n\u003c/html\u003e\n\n## Installation\n\n1. Download `glove-android.aar` from the latest release. (See [Releases](https://github.com/shubham0204/glove-android/releases))\n2. Move the AAR to `app/libs`.\n3. In module-level `build.gradle`, add the dependency,\n\n```groovy\ndependencies {\n    ...\n    implementation files('libs/glove-android.aar')\n    ...\n}\n```\n\n## Usage\n\nTo load the embeddings from storage, use the `GloVe.loadEmbeddings` method, which returns a `GloveEmbeddings` \nobject as a parameter in the given lambda function.\n\n```kotlin\nval gloveEmbeddings: GloVeEmbeddings\n\nGloVe.loadEmbeddings {\n    gloveEmbeddings = it\n}\n```\n\nCall the `gloveEmbeddings.getEmbedding` method providing a word as parameter. The resultant embedding \nis returned as a `FloatArray` with `size=50` (indicating a 50-D embedding).\n\n```kotlin\nval embedding = gloveEmbeddings.getEmbedding( \"hello\" )\nprintln( embedding.contentToString() )\n```\n\n\u003e If no embedding is found for the given word, an empty `FloatArray` is returned\n\n## Citation\n\n```text\n@inproceedings{pennington2014glove,\n  author = {Jeffrey Pennington and Richard Socher and Christopher D. Manning},\n  booktitle = {Empirical Methods in Natural Language Processing (EMNLP)},\n  title = {GloVe: Global Vectors for Word Representation},\n  year = {2014},\n  pages = {1532--1543},\n  url = {http://www.aclweb.org/anthology/D14-1162},\n}\n```\n\n## Useful Resources\n\n* [Reddit discussion on `r/androiddev`](https://www.reddit.com/r/androiddev/comments/168u3h7/gloveandroid_an_android_library_providing_access/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham0204%2Fglove-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubham0204%2Fglove-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubham0204%2Fglove-android/lists"}