文件名称:chartparsing
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-01-22
- 文件大小:
- 75kb
- 下载次数:
- 0次
- 提 供 者:
- rea****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
英文的句法分析器,重复下面的操作直到agenda为空并且输入中没有下一个词
若agenda为空,则把句子中下一个词的各种词法符号(词性)加入进来,
从agenda中取一个元素(设为C,位置为:p1-p2)
对下面形式的每个规则:
X->CX1...Xn,在activearcs中增加一条活动边:X->C o X1...Xn,位置为:p1-p2;
X->C,把X加入agenda,位置为:p1-p2
边扩展
将C加入到chart的位置p1-p2
对每个形式为:X->X1... o C...Xn的活动边,若它在p0-p1之间,则在activearcs中增加一条活动边:X->X1... C o...Xn,位置:p0-p2
对每个形式为: X->X1... Xn o C的活动边,若它在p0-p1之间,则在agenda中增加一个成分:X,位置为:p0-p2
-English syntax analyzer, repeat the following operation until the agenda is empty and enter the next word, if there is no agenda is empty, put the next word in the sentence various lexical symbols (POS) joined in, take an element from the agenda of the (Set C, position: p1-p2) of each rule of the form: X-> CX1 ... Xn, an increase in the active edge activearcs: X-> C X1 ... Xn, location : p1-p2 X-> C, the X adding agenda, location: p1-p2 side extensions added to the chart position C p1-p2 for each form: X-> X1 ... C.. . Xn activity side, if it is between p0-p1, an increase in activity in activearcs side: X-> X1 ... C ... Xn, location: p0-p2 for each form: X-> X1 ... Xn C activity side, if it is between p0-p1, then add an ingredient in the agenda: X, location: p0-p2
若agenda为空,则把句子中下一个词的各种词法符号(词性)加入进来,
从agenda中取一个元素(设为C,位置为:p1-p2)
对下面形式的每个规则:
X->CX1...Xn,在activearcs中增加一条活动边:X->C o X1...Xn,位置为:p1-p2;
X->C,把X加入agenda,位置为:p1-p2
边扩展
将C加入到chart的位置p1-p2
对每个形式为:X->X1... o C...Xn的活动边,若它在p0-p1之间,则在activearcs中增加一条活动边:X->X1... C o...Xn,位置:p0-p2
对每个形式为: X->X1... Xn o C的活动边,若它在p0-p1之间,则在agenda中增加一个成分:X,位置为:p0-p2
-English syntax analyzer, repeat the following operation until the agenda is empty and enter the next word, if there is no agenda is empty, put the next word in the sentence various lexical symbols (POS) joined in, take an element from the agenda of the (Set C, position: p1-p2) of each rule of the form: X-> CX1 ... Xn, an increase in the active edge activearcs: X-> C X1 ... Xn, location : p1-p2 X-> C, the X adding agenda, location: p1-p2 side extensions added to the chart position C p1-p2 for each form: X-> X1 ... C.. . Xn activity side, if it is between p0-p1, an increase in activity in activearcs side: X-> X1 ... C ... Xn, location: p0-p2 for each form: X-> X1 ... Xn C activity side, if it is between p0-p1, then add an ingredient in the agenda: X, location: p0-p2
(系统自动生成,下载前可以参看下载内容)
下载文件列表
英文chart句法分析器\pro3\ChartParser.java
...................\....\Dic_ec.java
...................\....\Edge.java
...................\....\RulePair.java
...................\rule.txt
...................\sample.txt
...................\英文chart句法分析器.doc
...................\pro3
英文chart句法分析器