autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

predict_currword() doesn't return expected results

Open whitebread opened this issue 9 years ago • 1 comments

example

models.train_models('hello there this is a test')

this should output ('is',1)

print(autocomplete.predict_currword('this',top_n=3))

actual output
[('this', 1)]

whitebread avatar Sep 26 '16 21:09 whitebread

as far as the code on line 42 and 43 of autocomplete.py goes, it only predicts extensions of the current word and not the next word.

greninja avatar Oct 30 '16 14:10 greninja