N-gram Autocomplete Autocomplete current or next word using N-grams: Live demo. Dependencies pip install nltk To run the streamlit app, you will also need: pip install streamlit streamlit-keyup st-annotated-text