commit | da5ebbc0ba3a9f0fef0cb4abec5c565249874148 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Apr 19 09:16:02 2016 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Apr 19 09:16:02 2016 +0200 |
tree | f4307905395613bda7de2617a26b235f640e01ce | |
parent | 210b9d5389f7383148766d2a586e9d432c71369c [diff] |
wang2vec: fix for consequtive downsampled collocators
diff --git a/word2vecExt.c b/word2vecExt.c index 7dbc168..7de104a 100644 --- a/word2vecExt.c +++ b/word2vecExt.c
@@ -790,7 +790,7 @@ continue; } word = sen[sentence_position]; - if (word == -2) + while (word == -2) word = sen[++sentence_position]; if (word == -1) continue;