Question
In this assignment you have to develop a program to assist a user in typing. Your program should predict the next word that the typist
In this assignment you have to develop a program to assist a user in typing. Your program should predict the next word that the typist may choose. Your program should keep track of the words that the user had entered previously and using these statistic suggest four next words as the user presses any of the key (A-Z). The possible list of words should be displayed to the user at the bottom of the screen as follows. The top of the screen should be dedicated for entering the text.
The user should be able to select one of the four options by selecting Clt+1, Clt+2, Clt+3, or Clt+4 keys.
You may use any data structure for this assignment.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started