File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
[ 捐赠致谢] ( https://github.com/ysc/QuestionAnsweringSystem/wiki/donation )
6
6
7
- ##使用方法:
7
+ ## 使用方法
8
8
9
9
1、安装JDK8和Maven3.3.3
10
10
将JDK的bin目录和Maven的bin目录加入PATH环境变量,确保在命令行能调用java和mvn命令:
28
28
4、使用系统
29
29
打开浏览器访问:http://localhost:8080/deep-qa-web/index.jsp
30
30
31
- ##工作原理:
31
+ ## 工作原理
32
32
33
33
1、判断问题类型(答案类型),当前使用模式匹配的方法,将来支持更多的方法,如朴素贝叶斯分类器。
34
34
2、提取问题关键词。
37
37
5、结合问题以及搜索结果对候选答案进行打分。
38
38
6、返回得分最高的TopN项候选答案。
39
39
40
- ##目前支持5种问题类型(答案类型):
40
+ ## 目前支持5种问题类型(答案类型)
41
41
42
42
1、人名
43
43
如:
70
70
澳门是在哪一年回归祖国怀抱的?
71
71
邓小平在什么时候进行南巡讲话?
72
72
73
- ## 增加新的问题类型(答案类型):
73
+ ## 增加新的问题类型(答案类型)
74
74
75
75
1、在枚举类 org.apdplat.qa.model.QuestionType 中
76
76
增加新的问题类型,并在词性和问题类型之间做映射。
79
79
目录中的 3 个文件代表不同抽象层级的模式,只需要在其中一个文件中增加新的模式即可。
80
80
81
81
3、在类 org.apdplat.qa.questiontypeanalysis.QuestionTypeTransformer 中
82
- 将模式匹配规则映射为枚举类org .apdplat.qa.model.QuestionType的实例 。
82
+ 将模式匹配规则映射为枚举类 org .apdplat.qa.model.QuestionType 的实例 。
83
83
84
- ##API接口:
84
+ ## API接口
85
85
86
86
调用地址:
87
87
http://127.0.0.1/deep-qa-web/api/ask?n=1&q=APDPlat的作者是谁?
99
99
}
100
100
]
101
101
102
- ##使用说明:
102
+ ## 使用说明
103
103
104
104
1、初始化MySQL数据库(MySQL作为数据缓存区使用,此步骤可选):
105
105
124
124
125
125
[ 可部署war包下载] ( http://pan.baidu.com/s/1hq9pekc )
126
126
127
- ##如何在你的应用中集成人机问答系统QuestionAnsweringSystem?
127
+ ## 在你的应用中集成人机问答系统QuestionAnsweringSystem
128
128
129
129
QuestionAnsweringSystem提供了两种集成方式,以库的方式嵌入到应用中,以平台的方式独立部署。
130
130
174
174
}
175
175
]
176
176
177
- ##深入了解:
177
+ ## 深入了解
178
178
179
179
QuestionAnsweringSystem由2个子项目构成,deep-qa和deep-qa-web。
180
180
deep-qa是核心部分,deep-qa-web提供web界面来和用户交互,同时也提供了Json Over HTTP的访问接口,便于异构系统的集成。
201
201
运行程序后会在当前目录下生成目录deep-qa,目录里面又有两个目录dic和questionTypePatterns。
202
202
dic是中文分词组件依赖的词库,questionTypePatterns是问题类别分析依赖的模式定义,可根据自己的需要修改。
203
203
204
- ##Watson介绍:
204
+ ## Watson介绍
205
205
206
206
Watson is a computer system like no other ever built.
207
207
It analyzes natural language questions and content well enough and fast enough
215
215
216
216
[ The DeepQA Research Team] ( http://researcher.watson.ibm.com/researcher/view_group.php?id=2099 )
217
217
218
- ##相关文章:
218
+ ## 相关文章
219
219
220
220
[ 测试人机问答系统智能性的3760个问题] ( http://my.oschina.net/apdplat/blog/401622 )
221
221
225
225
226
226
[ What is Question Answering?] ( https://class.coursera.org/nlp/lecture/155 )
227
227
228
- ##其他人机问答系统介绍:
228
+ ## 其他人机问答系统介绍
229
229
230
230
1、OpenEphyra(Java开源)
231
231
You can’t perform that action at this time.
0 commit comments