Week4-1Syntax
2015-11-15 23:44
232 查看
Syntax
Language is more than a bag of words!Grammar rules apply to the categories and groups of words, not individual word
Example - a sentence includes a subject and a predicate
Learn the new word and its syntactic usage.
Defining the POS
What do nouns typically have in common?can be preceded by “the”
Verbs can be preceded by can’t.
Adjectives can be between “the” and a noun
Determiners
Constituents
Constituents are continuousConstituents are no-crossing, if 2 constituents share 1 word, then one of them must completely contain the other
Each word is a constituent of itself
Constituent tests
coordination test: if 2 parts can be connected by conjunctions, they are both constituentspronoun test: constituents can be replaced by corresponding pronouns
question by repetition test
I have seen blue elephants
blue elephants? Yes
seen blue? No
seen blue elephants? Yes
topicalization test
Blue elephants, I have seen.
question test:
What have I seen?
deletion test
semantic test
…
How to generate sentences?
One way: tree structureGenerate the tree structure first
Fill the leaf nodes with terminals
PP ambiguity
The boy saw the woman with the telescope.Repetition(*)
JJ* = a sequence of zero or more JJAre all sequences of adjectives allowed? No
a big red house YES
a red big house NO
Adjective ordering in English depends on semantics!
Nested sentences
Birds fly. vs. I believe that birds fly.Example
- I don’t recall whether I took the dog out.
- Do you know if the mall is still open?
Recursion
S can generate VP, and VP can generate S.NP can generate PP, and PP can generate NP.
Conjunctions of NPs and PPs
Meta-patterns(X-bar theory)
Auxiliaries
Is “Aus V” a constituent? YES, pass the conjunction test.I have seen elephants and will remember them forever.
Recursion
VP -> Aux VP
Raj may have been sleeping.
相关文章推荐
- 框架学习总结(一):初识框架
- 亿级Web系统搭建——单机到分布式集群
- 浅析对象访问属性的"."和"[]"方法区别
- vim全局搜索当前目录
- poj 3415 Common Substrings
- Qt HelloQt
- ubuntu 14.04下samba服务器的配置
- windows下常用命令
- Android实现滑动方式汇总
- 当你的Windows系统运行速度减慢时
- JavaScript 学习—— js获取行间样式和非行间样式
- CC Arithmetic Progressions (FFT + 分块处理)
- ASP.NET登录控件login。
- 学习方式.
- iOS学习之-开机引导图
- 大型网站系统架构的演化
- 20135321余佳源——信息安全系统设计基础第十周学习总结
- angular学习资源
- Powershell管理系列(二十七)PowerShell操作之修改AD自定义属性
- Android-SeekBar(拖动进度条)