Week4-1Syntax

本文深入探讨了语言中的语法与句法,解释了它们如何通过组合单词形成有意义的句子。从名词、动词和形容词的角色到构成句子的基本组成部分,如主语、谓语和宾语,再到复杂结构如从句和复合句的构建,文章旨在为读者提供全面的语法知识。此外,还介绍了如何通过句法分析来理解和生成新句子,包括句子的层次结构和语法规则的应用。

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 continuous
  • Constituents 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 constituents
  • pronoun 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 structure
    1. Generate the tree structure first
    2. Fill the leaf nodes with terminals

PP ambiguity

The boy saw the woman with the telescope.

Repetition(*)

  • JJ* = a sequence of zero or more JJ
  • Are 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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值