Lab II TechSupport
TechSupport is a program intended to provide technical support for customers of the fictitious DodgySoft company. Some time ago, DodgySoft had a technical support department with people sitting at telephone where customers could call to get advice and help with their technical problems with the DodgySoft products. Recently, though, business has not been going so well, and DodgySoft decided to get rid of the technical support department to save money. They now want to develop the TechSupport system to give the impression that support is still provided. The system is supposed to mimic the responses a technical support person might give. Customers can communicate with the technical support system online. The plan is that we shall have a set of words that are likely to occur in typical questions and we will associate these words with particular responses. If the input from the user contains one of our known words we can generate a related response. To make it more nature, one word may be associated with several different answers which will be randomly picked when the word encountered. The user interface is quite straightforward: The user inputs a sentence and the program answers. Your program should be able to split the user input into words and find "key words" inside them. Then for every key word, try to decide a "suitable" (random) answer and print it out. For a sentence with more than one key word, you may have your own way to deal with it, like to print only one or all of them.
- 1
- 粉丝: 0
- 资源: 4
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 探索tecreate:软件开发的未来之星.zip
- 打标机项目C#源码连接扫码
- 基于SSM的房屋租赁系统的设计与实现
- xyctf:从入门到精通的实用指南.zip
- mmqrcode1714153659780.png
- Screenshot_2024-04-27-06-08-58-486_com.baidu.xin.aiqicha.jpg
- 基于Javaweb+Tomcat+MySQL的大学生公寓管理系统+sql文件.zip
- 实训作业基于javaweb的订单管理系统源码+数据库+实训报告.zip
- 多机调度问题贪心算法基于最小堆和贪心算法求解多机调度问题.zip
- 基于同态加密技术的匿名电子投票系统源码.zip
- 1
- 2
前往页