Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 528 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 528 Bytes

Word-Prediction

The python code predicts a sentence of certain length starting with a word entered by the user using the basic concepts of CDF and Probability.

We calculate the sample space of each word and find the cdf. Then using a random generated decimal between 0 and 1 we predict that what might be the next word.