{"id":19922427,"url":"https://github.com/yuyuzha0/word2vec","last_synced_at":"2025-10-10T00:45:46.028Z","repository":{"id":160786569,"uuid":"76815996","full_name":"YuyuZha0/word2vec","owner":"YuyuZha0","description":"a word2vec impl of Chinese language, based on deeplearning4j and ansj ","archived":false,"fork":false,"pushed_at":"2021-02-19T02:22:16.000Z","size":14058,"stargazers_count":28,"open_issues_count":1,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-10T00:45:40.806Z","etag":null,"topics":["chinese","java","nlp","word2vec","word2vec-zh"],"latest_commit_sha":null,"homepage":"","language":"Java","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/YuyuZha0.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":"2016-12-19T00:52:11.000Z","updated_at":"2021-02-19T02:22:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd139b48-0fe9-46da-bf2e-3318d3e8ab79","html_url":"https://github.com/YuyuZha0/word2vec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/YuyuZha0/word2vec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuyuZha0%2Fword2vec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuyuZha0%2Fword2vec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuyuZha0%2Fword2vec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuyuZha0%2Fword2vec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YuyuZha0","download_url":"https://codeload.github.com/YuyuZha0/word2vec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YuyuZha0%2Fword2vec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002344,"owners_count":26083357,"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-10-09T02:00:07.460Z","response_time":59,"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":["chinese","java","nlp","word2vec","word2vec-zh"],"created_at":"2024-11-12T22:10:57.963Z","updated_at":"2025-10-10T00:45:46.001Z","avatar_url":"https://github.com/YuyuZha0.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# word2vec\na word2vec impl of Chinese language, based on deeplearning4j and ansj \n\n\nFit com.github.yuyu.example:\n```\n Word2Vec word2Vec =\n        Word2VecCN.builder()\n            .charset(Charset.forName(\"GB2312\"))\n            .addFile(\"/Users/zhaoyuyu/Downloads/阅微草堂笔记.txt\")\n            .addFile(\"/Users/zhaoyuyu/Downloads/白话加强版阅微草堂笔记.txt\")\n            .build()\n            .fit();\n\n    WordVectorSerializer.writeWord2VecModel(word2Vec, \"/Users/zhaoyuyu/Downloads/word2vec\");\n\n    System.out.println(word2Vec.wordsNearest(\"鬼\", 10));\n```\n\nRestore com.github.yuyu.example:\n```\npublic static void main(String[] args) throws FileNotFoundException {\n    Word2Vec word2Vec = WordVectorSerializer.readWord2VecModel(\"/Users/zhaoyuyu/Downloads/word2vec\");\n    System.out.println(word2Vec.wordsNearest(\"鬼\", 10));\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuyuzha0%2Fword2vec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuyuzha0%2Fword2vec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuyuzha0%2Fword2vec/lists"}