基于上下文无关文法的句法分析
常宝宝
北京大学计算语言学研究所
******@pku.
句法分析导引
以“词”为单位的分析技术
词语切分(segmentation, tokenization)
形态分析(morphological analysis, lemmatization, stemming)
词类标注(part-of-speech tagging)
……
以“句”为单位的分析技术
句法分析(syntactic parsing)
……
以“篇”为单位的分析技术
指代分析(anaphora resolution)
……
句法分析关心句子的组成规律(词如何组成句子?)
句法学(syntax)
In linguistics, syntax is the study of the rules, or
"patterned relations", that govern the way the
words in a e together. It concerns
how different words bined into clauses,
which, in turn, bined into sentences.
From Wikipedia, the free encyclopedia
语言学中研究句子组成规则的学科是句法学
句子成分分析
句子是词的线性序列,但词和词之间结合的松紧程度
并不一样。
今天上午我们有两节课
句子在构造上具有层次性,较小的成分还可以进一步
组成较大的成分。
今天上午我们有两节课
| | | |
| | |
| |
不同性质的成分可以有不同的句法功能和分布,可以
区分成不同的类型。
名词短语(可以充当主谓结构中的主语、述宾结构中的宾语等)
两节课
动词短语(可以充当主谓结构中的谓语等)
英语中的短语举例
名词性短语(NP)
the flight the flight from Beijing to Shanghai
all the flights two flights a nonstop flight
any flights arriving after eleven .
动词性短语(VP)
arrive on Sunday show me that book
buy two books prefer to go by Airchina
介词短语(PP)
from Beijing with a telescope from Beijing to Shanghai
形容词性短语
very easy least expensive
……
汉语中的短语举例
名词性短语(np) 两节课、机器零件
动词性短语(vp) 吃包子、洗干净
形容词性短语(ap) 很干燥、多么美妙
处所词性短语(sp) 地板上、盒子里
时间词性短语(tp) 今天上午、十年前
数量短语(mp) 一封(公开信)、多名(乘客)
介词短语(pp) 向雷锋(学****被老师(警告)
广告策划案 来自淘豆网www.taodocs.com转载请标明出处.