diff --git a/word2vec.c b/word2vec.c index 9d6fffd..26b115e 100644 --- a/word2vec.c +++ b/word2vec.c @@ -427,7 +427,6 @@ void *TrainModelThread(void *id) { continue; } word = sen[sentence_position]; - if (word == -1) continue; for (c = 0; c < layer1_size; c++) neu1[c] = 0; for (c = 0; c < layer1_size; c++) neu1e[c] = 0; next_random = next_random * (unsigned long long)25214903917 + 11;