rodricios / autocomplete

Autocomplete - an adult and kid friendly exercise in creating a predictive program
450 stars 74 forks source link

predict_currword() returning empty list #12

Open hgu23 opened 4 years ago

hgu23 commented 4 years ago

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 prefix, it returns an empty list as the output. Could you please let me know the possible cause of this?

Thanks, Harshil

jaspreetmonga commented 3 years ago

same issue

jaspreetmonga commented 3 years ago

@rodricios @lutze

harsh2338 commented 3 years ago

it is working only for lowercase letters