一句话:提出自动识别观点型提问并抽取参与者答案的方法,用于从开发者聊天构建观点问答助手。
该文面向为软件工程师构建虚拟助手/聊天机器人的需求,研究如何从公共在线开发者聊天中抽取基于观点的问答,以支持快速获取开发主题建议(如最佳 JSON 解析 Java 库)。作者提出自动识别“观点型提问”并抽取参与者回答的两阶段方法:对提问识别采用启发式规则,对答案抽取采用面向软件领域定制的深度学习模型。评估覆盖两个平台、六个编程社区。结果显示,观点型提问识别的精确率达 0.87;在社区问答答案抽取上,领域定制深度学习优于启发式、传统机器学习及通用深度学习基线。
Virtual conversational assistants designed specifically for software engineers could have a huge impact on the time it takes for software engineers to get help. Research efforts are focusing on virtual assistants that support specific software development tasks such as bug repair and pair programming. In this paper, we study the use of online chat platforms as a resource towards collecting developer opinions that could potentially help in building opinion Q&A systems, as a specialized instance of virtual assistants and chatbots for software engineers. Opinion Q&A has a stronger presence in chats than in other developer communications, thus mining them can provide a valuable resource for developers in quickly getting insight about a specific development topic (e.g., What is the best Java library for parsing JSON?). We address the problem of opinion Q&A extraction by developing automatic identification of opinion-asking questions and extraction of participants' answers from public online developer chats. We evaluate our automatic approaches on chats spanning six programming communities and two platforms. Our results show that a heuristic approach to opinion-asking questions works well (.87 precision), and a deep learning approach customized to the software domain outperforms heuristics-based, machine-learning-based and deep learning for answer extraction in community question answering.