when read the vocab, if it is a '' character, it will return a hash code -1, compare to the origin source code of google, I found a missing at code code.
if ((vocab[a].cn < min_count)&& (a != 0)) { vocab_size--; free(vocab[a].word); vocab[a].word = NULL; }
it is the &&(a!=0)
when read the vocab, if it is a '' character, it will return a hash code -1, compare to the origin source code of google, I found a missing at code code.
if ((vocab[a].cn < min_count)&& (a != 0)) { vocab_size--; free(vocab[a].word); vocab[a].word = NULL; }it is the &&(a!=0)