autocomplete
autocomplete copied to clipboard
predict_currword() doesn't return expected results
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)]
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.