Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
courses:rg:2013:stanford-dependencies [2013/10/14 17:49] ufal created |
courses:rg:2013:stanford-dependencies [2013/10/21 14:11] (current) rosa +readding full questions (partially removed by prevoius commit) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Questions ===== | + | === The Stanford typed dependencies representation |
+ | Marie-Catherine de Marneffe, Christopher D. Manning: [[http:// | ||
- | Formally there are 7 questions, but the answers can be brief. | + | ===== Answers to Questions ===== |
- | - What do the authors give as a good example of a frequently used linguistic data resource? What reason(s) do they give for its frequent use? | + | - What do the authors give as a good example of a frequently used linguistic data resource? What reason(s) do they give for its frequent use?\\ WordNet. |
- | - What is more important for SDs: semantic relevance or linguistic accuracy? | + | - What is more important for SDs: semantic relevance or linguistic accuracy?\\ Semantic relevance. |
- The version of SDs described in the paper collapses prepositions. If they were represented as individual nodes instead (which they are in the " | - The version of SDs described in the paper collapses prepositions. If they were represented as individual nodes instead (which they are in the " | ||
* a) prep(go, to); pobj(to, school) | * a) prep(go, to); pobj(to, school) | ||
- | * b) pobj(go, school); prep(school, | + | * b) pobj(go, school); prep(school, |
- In the variant of SDs described in the paper, each word of the sentence appears as a **dependent** in a relation: | - In the variant of SDs described in the paper, each word of the sentence appears as a **dependent** in a relation: | ||
* a) exactly once | * a) exactly once | ||
* b) once or not at all | * b) once or not at all | ||
* c) once or more times | * c) once or more times | ||
- | * d) zero or more times | + | |
- In the variant of SDs described in the paper, each word of the sentence appears as a **head** in a relation: | - In the variant of SDs described in the paper, each word of the sentence appears as a **head** in a relation: | ||
* a) exactly once | * a) exactly once | ||
* b) once or not at all | * b) once or not at all | ||
* c) once or more times | * c) once or more times | ||
- | * d) zero or more times | + | |
- | - Based on the paper, what properties do you think that a representation of a sentence in SD has (if you think about it as a graph)? | + | - Based on the paper, what properties do you think that a representation of a sentence in SD has (if you think about it as a graph)? |
- | * a) Is it connected? | + | * a) Is it connected? |
- | * b) Is it a DAG (directed acyclic graph)? | + | * b) Is it a DAG (directed acyclic graph)? |
- | * c) Is it rooted? | + | * c) Is it rooted? |
- | * d) Is it a tree? | + | * d) Is it a tree? \\ **No** -- e.g. coordinations form undirected cycles. (See examples in the paper, or the answer to question 7 where you can see this happen.) |
- Try to devise the SD representation of the following sentence: //Small boys and girls must go to school.// | - Try to devise the SD representation of the following sentence: //Small boys and girls must go to school.// | ||
- | |||
Hint: you should probably use the following SD types: //amod, aux, conj_*, nsubj, prep_*, root//. | Hint: you should probably use the following SD types: //amod, aux, conj_*, nsubj, prep_*, root//. | ||
The ' | The ' | ||
- | |||
If you want, try to also draw that as a graph representation. | If you want, try to also draw that as a graph representation. | ||
+ | |||
+ | '' | ||
+ | amod(girls-4, | ||
+ | nsubj(go-6, boys-2) | ||
+ | conj_and(boys-2, | ||
+ | nsubj(go-6, girls-4) | ||
+ | aux(go-6, must-5) | ||
+ | root(ROOT-0, | ||
+ | prep_to(go-6, | ||
+ | |||
+ | If you try it out (e.g. here [[http:// | ||
+ | you may notice that the second relation is missing. However, " | ||
+ | definitely a shared modifier of the whole coordination "boys and girls", | ||
+ | private modifier of " | ||
+ | usually hard to make for the automated tools (and often even for people). | ||
+ | |||
+ | The ' | ||
+ |