This action will force synchronization from Gitee Community/bullshit-codes, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
import java.util.Scanner;/*** @Description 智能AI客服服务系统* @Author saltfish* @Date 15:35 2019年6月22日*/public class AICustomerServiceSystem {public static void main(String[] args) {Scanner sc = new Scanner(System.in);String str;// 待优化while (true) {str = sc.next();// 测试环境,正式环境从数据库中获取str = str.replace("吗", "");str = str.replace("?", "!");str = str.replace("?", "!");str = str.replace("不", "很");str = str.replace("你们", "我们");str = str.replace("有", "没有");System.out.println(str);}// test// 在吗?// 在!// 你好!// 你好!// 产品有问题啊// 产品没有问题啊// 你们的服务态度不好// 我们的服务态度很好}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。