Constituency Grammars Flashcards

1
Q

What does syntax mean?

A

It is the way words are arranged together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does syntactic consistency mean?

A

It is the idea that words can be grouped into single units (e.g. Noun Phrase)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do we form constituents?

A

We use evidence from the context of the sentence to group words to form them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a constituent?

A

It is a word or group of words that function as a single unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can evidence be encoded?

A

In rules or grammars

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some different Grammar types?

A

Context Free Grammar (CFG)

Dependency Structure Grammar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some features of a CFG?

A

Rules are based on phrasal constituents + phase-structure

Word order is very important

Head terms are embedded into trees making it harder to find

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some features of a Dependency Structure Grammar?

A

Rules are based on grammatical dependencies between words

Word order is flexible

(Head → Dependent) approximates the semantic relationship between predicates and arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

State which of the graphs show a CFG and a Dependency Grammar.

A

The left is a Dependency Grammar

The right is a CFG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain what the graph generated using CFG shows.

A

The root node, S, is saying we have a sentence, and for this parse tree the sentence will have a noun phrase followed by a verb phrase. We can see that the noun phrase consists of a pronoun, which we can see is ‘I’. We can see that the verb phrase consists of a verb and noun phrase. This continues until we reach all the leaf nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the leaf nodes typically in a CFG graph?

A

They are typically lexical terms (words)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are dependency grammars based on?

A

They are based on the subject-object relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a context free grammar model?

A

It models constituent structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What two things does a CFG have?

A

A lexicon (of words and symbols)

A set of rules (or productions)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What form are CFG rules equivalent to?

A

Backus-Naur Form (BNF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How are CFG rules embedded, and what does it allow them to do?

A

They are hierarchically embedded, meaning that they can trigger other rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Explain how the productions work in the image.

A

Given a left symbol, generate a right set of symbols.

One derivation is where you follow the productions all the way through

The productions can actually be recursive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What are some typical CFG production rules?

A

Leaf nodes are terminal nodes

Non-terminal nodes define lexical categories (POS)

A node is said to dominate its child nodes

The root node is the start symbol (usually ‘S’)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What do we call sentences that can and cannot be derived from a CFG?

A

Can be derived are called grammatical, cannot be derived are called ungrammatical

20
Q

Why is a CFG a generative grammar?

A

The language is defined by the possible sentences it can generate

21
Q

What is the problem of mapping sentences to parse trees called?

A

Syntactic parsing

22
Q

What does a declarative sentence mean?

A

We have a subject NP followed by an VP

S → NP VP

23
Q

What does an imperative level sentence mean?

A

There is a VP with no subject

S → VP

24
Q

What does a yes-no question form mean?

A

There is an auxiliary verb followed by a subject NP and a VP

S → Aux NP VP

25
What does a wh-subject-question mean?
There is a wh-word followed by a subject NP and a VP S → Wh-NP VP
26
What does a wh-non-subject-question mean?
It is where the wh-phrase is not the subject S → Wh-NP Aux NP VP
27
What is a wh-non-subject-question an example of?
A long distance dependency - the Wh-NP is far away from the semantically relevant main VP
28
What can sentences consist of?
One or more clauses
29
What is a clause?
It is a ‘complete thought’
30
What is a clause made up of?
Two or more of: * Subject * Verb * Object * (Subject|Object) Complement * Adverbial
31
What are clauses critical for?
Applications such as relation extraction
32
What do noun phrases consist of?
A head noun and various modifiers
33
What can determiners be?
Simple lexical terms like a, the, this. Or they can be more complex with possessive markers ('s)
34
What is a nominal?
It is typically a head noun and optional noun modifiers which can occur before or after the head noun Nominal → Noun | NUM Nominal | Nominal PP | (who|what) VP
35
What is verb phrase typically?
A VP plus a number of other constituents VP → VP | Verb NP PP | Verb NP | Verb PP
36
What are sequential compliments?
These are VP followed by an embedded sentence VP → Verb S
37
What do traditional grammars do with verbs?
Subcategorise the verbs into a few categories
38
What are some verb categories?
Transitive Verbs - object Intransitive Verbs - no object Ditransitive Verbs - direct and indirect object Linking Verbs - links clause subject with complement
39
What is different about what modern grammars do with verbs?
They can have up to 100 subcategories of verbs. Sets of complements are called the subcategorisation frame
40
What are coordinations?
These are conjunctions such as and, or, but VP → NP and NP Nominal → Nominal and Nominal S → S and S VP → VP and VP
41
What is a treebank?
A treebank is a syntactically annotated corpus. They have tagsets based on linguistic annotation choices from the authoring project
42
How are long distance dependencies (syntactic movement) encoded in tagsets?
They are encoded using -NONE- markers
43
How many rules types and words does Treebank 3 have?
17,500 rule types and a million words
44
What is a lexical head?
A lexical head is the word in a phrase which is grammatically the most important - they can be tricky to define as they are context dependent. In practice, handwritten rules are used guided by statistical analysis
45
What grammar emphasises lexical features over phrase-structure?
Combinatory Categorical Grammar (CCG) - defines categories and has mappings between lexicon words to categories, can go forward and backwards. Is very powerful