Skip to content

Commit cff6b45

Browse files
committed
w2v+transE
1 parent 159d96b commit cff6b45

File tree

2 files changed

+734
-3
lines changed

2 files changed

+734
-3
lines changed

Word2vec/makefile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
CC = gcc
1+
CC = g++
22
#Using -Ofast instead of -O3 might result in faster code, but is supported only by newer GCC versions
33
CFLAGS = -lm -pthread -Ofast -march=native -Wall -funroll-loops -Wno-unused-result
4-
all: Word2vec
4+
all: Word2vec Word2vec_transE
55
Word2vec: word2vec.c
66
$(CC) word2vec.c -o word2vec $(CFLAGS)
7+
Word2vec_transE:
8+
$(CC) word2vec_transE.c -o word2vec_transE $(CFLAGS)
79
clean:
8-
rm -rf word2vec
10+
rm -rf word2vec Word2vec_transE

0 commit comments

Comments
 (0)