fix-typo
fengjiayi 7 years ago committed by GitHub
parent 4fdbad010e
commit a75437a20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,7 +116,7 @@ def reader_creator(pos_pattern, neg_pattern, word_idx, buffer_size):
yield [word_idx.get(w, UNK) for w in doc], i % 2
doc = qs[i % 2].get()
return reader()
return reader
def train(word_idx):

Loading…
Cancel
Save