autocomplete
autocomplete copied to clipboard
Autocomplete - an adult and kid friendly exercise in creating a predictive program
Currently words with uppercase letters always yield no results. By merging the pull request, the words received as parameters are converted to lowercase so that it gives the right results.
Hi there, I am using : models.train_models(txt,model_name="models_compressed.pkl") to use train on a text file containing the names of major diseases but whenever I use predict_currword('A',top_n = 5) or any other...
GitHub changed the way Markdown headings are parsed, so this change fixes it. See [bryant1410/readmesfix](https://github.com/bryant1410/readmesfix) for more information. Tackles bryant1410/readmesfix#1
Thanks for this amazing piece of code! Trying to make some humble contributions.
suppose i want to find "Hello How A" as input output will be ( Are , 10, Aunt , 5, Ant , 2 ) but for third word not second...
training! Error in opening pickle object. Training on default corpus text. ('saving to:', '/usr/local/lib/python2.7/dist-packages/autocomplete/models_compressed.pkl') Traceback (most recent call last): File "/home/dev/Documents/atom-workspace/autocom.py", line 4, in autocomplete.load() File "/usr/local/lib/python2.7/dist-packages/autocomplete/**init**.py", line 69, in...
autocomplete.predict('the','bof') gives []
##### 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)]