jadessechan/Text-Prediction
A trigram language model using NLTK to predict the next word of a phrase
This tool helps you extend an existing phrase or sentence by predicting the most probable next word, based on the patterns found in a text like "Alice in Wonderland." You input a partial sentence, and it suggests how the sentence might continue, word by word. It's useful for someone exploring statistical text generation or completing sentences in a style consistent with a given body of text.
No commits in the last 6 months.
Use this if you want to see how a simple statistical model can predict the next word in a sentence based on common phrases from a known text.
Not ideal if you need a sophisticated AI for creative writing, contextually deep suggestions, or predictions based on a broad, real-world understanding of language.
Stars
11
Forks
4
Language
Python
License
—
Category
Last pushed
Mar 11, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/jadessechan/Text-Prediction"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
nlx-group/overlapy
Python package developed to evaluate textual overlap (N-Grams) between two volumes of text.
joshualoehr/ngram-language-model
Python implementation of an N-gram language model with Laplace smoothing and sentence generation.
MannarAmuthan/kural-gen
KuralGen generates Thirukkural for a given English sentence
phughesmcr/SimpleNGrams
The easiest way to get n-grams from strings!
SpydazWebAI-NLP/BasicLanguageModelling2023
Basic Language Models , Bag of Words, Ngram Models Etc NLP modelling and associated tasks