• Post Reply Bookmark Topic Watch Topic
  • New Topic

Next word prediction  RSS feed

 
yaswant kumar kumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say for exam if i have sentence "ram is a good boy" so when i enter "ram" it should show ram:is and if i enter "is" then it should show is:a if i enter "a" it should show a:good,if i enter "good" it should show good:boy, am not able start this program can anybody help? it's our home work i want this program in java,and it should work for various sentences
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Get a pen and paper and write out how you would do this yourself. And make sure you write out enough detail that a 5 year old could follow your instructions.
 
Randall Twede
Ranch Hand
Posts: 4696
8
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds a bit difficult for a homework to me.
your professor must have given you some hints or help of some sort. use it.
if you truly can't get it, go to your professor and ask him about what you don't understand.
i don't know what school you go to, but at the ones i went to, the professors were very available.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!