Skip to content

William-Yeh/word2vec-mac

 
 

Repository files navigation

word2vec patch for Mac OS X

Purpose

word2vec was written in plain C, but some gotcha forbidded it to be compiled on Mac OS X:

  • Non-standard header <malloc.h> instead of <stdlib.h>.

  • Non portable gzip handling in demo scripts.

This repository tries to fix them. See "Issue 1: Build for Mac?" for more info.

Status

Updated to r37 (revision date: Dec 18, 2013).

I'll try to keep track of original word2vec project.

Quick start

  • Download the code: git clone https://github.com/William-Yeh/word2vec-mac.git

  • Run make to compile word2vec tool

  • Run the demo scripts: ./demo-word.sh and ./demo-phrases.sh

For more information

Of course, official word2vec page hosted at Google Code.

License

Apache License 2.0, same as original project.

About

word2vec patch for Mac OS X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.7%
  • Shell 6.3%