{"id":13590720,"url":"https://github.com/danielfrg/word2vec","last_synced_at":"2025-10-20T16:06:50.211Z","repository":{"id":10256947,"uuid":"12366195","full_name":"danielfrg/word2vec","owner":"danielfrg","description":"Python interface to Google word2vec","archived":true,"fork":false,"pushed_at":"2023-04-06T22:45:49.000Z","size":6734,"stargazers_count":2548,"open_issues_count":5,"forks_count":630,"subscribers_count":108,"default_branch":"main","last_synced_at":"2024-04-14T13:10:04.998Z","etag":null,"topics":["doc2vec","python","word2vec"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielfrg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2013-08-25T21:45:08.000Z","updated_at":"2024-04-11T04:27:52.000Z","dependencies_parsed_at":"2023-01-13T15:50:02.372Z","dependency_job_id":"75d0369f-91e3-4337-a429-3bb6754a7790","html_url":"https://github.com/danielfrg/word2vec","commit_stats":{"total_commits":241,"total_committers":21,"mean_commits":"11.476190476190476","dds":0.4066390041493776,"last_synced_commit":"b6b948e7d09c7ff26df5bac5bc31ac3aa896bc0e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fword2vec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fword2vec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fword2vec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fword2vec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielfrg","download_url":"https://codeload.github.com/danielfrg/word2vec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234569704,"owners_count":18854133,"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":["doc2vec","python","word2vec"],"created_at":"2024-08-01T16:00:49.828Z","updated_at":"2025-09-28T22:31:24.910Z","avatar_url":"https://github.com/danielfrg.png","language":"C","readme":"# NOT MAINTAINED\n\n- I have not used this code in a long time\n- No issues or PRs can be created\n- Latest release doesn't work with newer versions of numpy\n- I recommened moving to a native alternative in Tensorflow or PyTorch\n\n# word2vec\n\n[![pypi](https://badge.fury.io/py/word2vec.svg)](https://pypi.org/project/word2vec/)\n[![build](https://github.com/danielfrg/word2vec/workflows/test/badge.svg)](http://github.com/danielfrg/word2vec/actions/workflows/test.yml)\n[![coverage](https://codecov.io/gh/danielfrg/word2vec/branch/master/graph/badge.svg)](https://codecov.io/gh/danielfrg/word2vec?branch=master)\n[![license](https://img.shields.io/:license-Apache%202-blue.svg)](http://github.com/danielfrg/word2vec/blob/master/LICENSE.txt)\n\nPython interface to Google word2vec.\n\nTraining is done using the original C code, other functionality is pure Python with numpy.\n\n## Installation\n\n```\npip install word2vec\n```\n\n### Compilation\n\nThe installation requires to compile the original C code using `gcc`.\n\nYou can override the compilation flags if needed:\n\n```\nWORD2VEC_CFLAGS='-march=corei7' pip install word2vec\n```\n\n**Windows:** There is basic some support for this support based on this [win32 port](https://github.com/zhangyafeikimi/word2vec-win32).\n\n## Usage\n\nExample notebook: [word2vec](https://nbviewer.org/github/danielfrg/word2vec/blob/main/examples/word2vec.ipynb)\n\nThe default functionality from word2vec is available with the following commands:\n- `word2vec`\n- `word2phrase`\n- `word2vec-distance`\n- `word2vec-word-analogy`\n- `word2vec-compute-accuracy`\n\nExperimental functionality on doc2vec can be found in this example:\n[doc2vec](https://nbviewer.org/github/danielfrg/word2vec/blob/main/examples/doc2vec.ipynb)\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfrg%2Fword2vec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfrg%2Fword2vec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfrg%2Fword2vec/lists"}