联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> OS作业OS作业

日期:2018-06-09 07:17


CS2 Final Project

Redo chapter 6 problem 7 to create an online counselor for the Computer Science department at PCC. You will receive a question from the user. Create a file which has as many answer as possible. Try to think ahead and come up with the questions someone may ask. Parse the questions to find keywords. Create a vector called answersVector to store all answers in your file. Create another vector of record containing keyword and key. Keys will refer to the answers in the first vector. Sort KeywordsVector.

Ask user a question – Parse question to keywords – look through your KeywordsVector and create percentage of possibilities for keys – you may have zero to many keys depending to user’s question

1.Display the highest possibility

2.If you have multiple possibilities choose one randomly with a message that says , “I’m not sure if I understood your question correctly but this is the closest answer I have for you

3.If you cannot come up with an answer in your list.

a.Ask the user for email address and let her/him know you will get back to her/him with correct answer

b.Save email address, possibly first name and last name with the question in a file called separated with spaces

c.update your database with new answer

d.For extra credit – create an email and send it to someone who may have the answer and then update your database

4.If you work in a group or for extra credit – visit http://ict.usc.edu/prototypes/vhtoolkit/ to find computer character with an API which has speech recognition

5.If you work in a group or for extra credit – Create GUI for this project


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp