Skip to content

Commit

Permalink
renew word|doc 2 vec code
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhiqiang authored and liuzhiqiang committed Oct 31, 2016
1 parent 710bcd2 commit 2d8d390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 114 deletions.
113 changes: 0 additions & 113 deletions main/lda.c

This file was deleted.

2 changes: 1 addition & 1 deletion w2v/vec.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void vec_load_tree(Vec * vec, TSD * ds, char * outdir, char * leaff){
while (NULL != fgets(buf, MLEN, fp)){
string = trim(buf, 3);
while (NULL != (token = strsep(&string, "\t"))){
vec->neu1[i++] = atof(token);
vec->neu0[i++] = atof(token);
}
}
fclose(fp);
Expand Down

0 comments on commit 2d8d390

Please sign in to comment.