Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
courses:rg:2013:stanford-dependencies [2013/10/21 14:07] rosa answers |
courses:rg:2013:stanford-dependencies [2013/10/21 14:11] (current) rosa +readding full questions (partially removed by prevoius commit) |
||
---|---|---|---|
Line 10: | Line 10: | ||
* 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: | ||
- | * d) zero or more times \\ Does not appear if it is collapsed (e.g. prepositions) or left out (punctuation).\\ Appears multiple times if it is a shared modifier of a coordination. (See examples in the paper, or the answer to question 7 where you can see all this happen.) | + | |
+ | * b) once or not at all | ||
+ | * c) once or more times | ||
+ | * **d) zero or more times** \\ Does not appear if it is collapsed (e.g. prepositions) or left out (punctuation).\\ Appears multiple times if it is a shared modifier of a coordination. (See examples in the paper, or the answer to question 7 where you can see all this happen.) | ||
- 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: | ||
- | * d) zero or more times \\ Does not appear as a head if it is a leaf or does not appear at all. \\ Appears multiple times if it has more than one dependent. \\ (Note that this is true for probably all dependency representations...) | + | |
+ | * b) once or not at all | ||
+ | * c) once or more times | ||
+ | * **d) zero or more times** \\ Does not appear as a head if it is a leaf or does not appear at all. \\ Appears multiple times if it has more than one dependent. \\ (Note that this is true for probably all dependency representations...) | ||
- 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)? \\ (This is actually discussed in detail in [[http:// | - 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)? \\ (This is actually discussed in detail in [[http:// | ||
- | * a) Is it connected? \\ Yes, although this might not have been explicitly mentioned in the paper. | + | * a) Is it connected? \\ **Yes,** although this might not have been explicitly mentioned in the paper. |
* b) Is it a DAG (directed acyclic graph)? \\ The paper probably suggests that yes, although in practice this is not true -- SDs capture correfence-like relations, which may form a directed cycle. See page 17 of [[http:// | * b) Is it a DAG (directed acyclic graph)? \\ The paper probably suggests that yes, although in practice this is not true -- SDs capture correfence-like relations, which may form a directed cycle. See page 17 of [[http:// | ||
- | * c) Is it rooted? \\ Yes, although this might not have been explicitly mentioned in the paper. | + | * c) Is it rooted? \\ **Yes,** although this might not have been explicitly mentioned in the paper. |
- | * 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.) | + | * 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//. | ||
+ | The ' | ||
+ | If you want, try to also draw that as a graph representation. | ||
+ | |||
'' | '' | ||
amod(girls-4, | amod(girls-4, |