Difference between revisions of "SRL"
From Knowitall
SSoderland (talk | contribs) |
SSoderland (talk | contribs) |
||
Line 16: | Line 16: | ||
#::? (a drug, depresses, the central nervous system) | #::? (a drug, depresses, the central nervous system) | ||
#::? (Alcohol, depresses, the central nervous system) | #::? (Alcohol, depresses, the central nervous system) | ||
+ | #: | ||
+ | #Need to examine AM_TMP before creating Time: | ||
+ | #:Clay holds water well , sometimes perhaps too well | ||
+ | #::hold.01 A0=Clay; A1=water; AM_MNR=well; AM_TMP=sometimes | ||
+ | #::(Clay, holds, water) | ||
+ | #::*(Clay, holds, water) Time: sometimes too well | ||
+ | #: | ||
Revision as of 23:58, 22 February 2013
Open Questions
- What do we want to extract from "If ..., then ..." constructions. The dependency parse in this example has "If Grandma had wheels" as an advcl modifier to the main clause.
- If Grandma had wheels, she would be a tea trolley.
- have.03 A0=Grandma; A1=wheels
- be.01 AM_ADV=had; A1=she; AM_MOD=would; A2=trolley
- (Grandma, had, wheels) mode:hypothetical
- (she, would be, a tea trolley) context: if (Grandma, had, wheels)
- If Grandma had wheels, she would be a tea trolley.
- How far to go in extending arg2 with post modifying clauses? The dependency graph has appositive link from sedative to drug and we have (Alcohol, is, a drug) -- do we infer the last two tuples?
- Alcohol is a drug , a sedative , which depresses the central nervous system
- be.01 A1=Alcohol; A2=drug
- depress.02 A0=sedative; UnknownRole(R-A0)=which; A1=system
- ? (Alcohol, is, a drug, a sedative, which depresses the central nervous system)
- (Alcohol, is, a drug)
- (sedative, depresses, the central nervous system)
- ? (a drug, depresses, the central nervous system)
- ? (Alcohol, depresses, the central nervous system)
- Alcohol is a drug , a sedative , which depresses the central nervous system
- Need to examine AM_TMP before creating Time:
- Clay holds water well , sometimes perhaps too well
- hold.01 A0=Clay; A1=water; AM_MNR=well; AM_TMP=sometimes
- (Clay, holds, water)
- (Clay, holds, water) Time: sometimes too well
- Clay holds water well , sometimes perhaps too well
Rules
- Create a tuple for every A1 Verb A2 where A1 and A2 are any of {A0, A1, A2, …, A5}
- John was reading a book.
- A0: John read.01 A1: a book
- (John, was reading, a book)
- John sat in the library.
- A1: John sit.01 A2: in the library
- (John, sat, in the library)
- Ignore AM_MNR but use dependency graph to include adverbials in relation
- John was reading quietly.
- A0: John read.01 AM_MNR: quietly
- (John, was reading quietly, )
- John sat quietly in the library.
- A1: John sit.01 AM_MNR: quietly A2: in the library
- (John, sat quietly, in the library)
- John was reading quietly.
-
- Multiple arg2 with same arg1, second arg2 starts with a verb.
- Create two tuples, use both verbs in relation for arg2 that starts with verb.
- Don’t create the tuple with embedded verb.
- John hopes to read the book.
- A0: John hope.01 A1:to read the book
- A0: John read.01 A1: the book
- ? (John, hopes, to read the book)
- (John, hopes to read, the book)
- * (John, to read, the book)
- John sat in the library, reading a book.
- A1: John sit.01 A2: in the library AM_PRD: reading a book
- A0: John read.01 A1: a book
- (John, sat, in the library)
- (John, sat reading, a book)
- * (John, reading, a book)
- John reads books to stimulate his mind.
- A0: John read.01 A1: books AM_PRP: to stimulate his mind
- A0: John stimulate.01 A1: his mind
- (John, reads, books)
- ? (John, reads books, to stimulate his mind)
- (John, reads to stimulate, his mind)
- * (John, to stimulate, his mind)
- Multiple arg2 with same arg1, second arg2 starts with preposition.
- Append the arg that starts with a preposition to the previous arg2.
- John reads books for stimulating his mind.
- A0: John read.01 A1: books AM_PRP: for stimulating his mind
- A0: John stimulate.01 A1: mind
- (John, reads, books, for stimulating his mind)
- ? (John, reads books, for stimulating his mind)
- Tr (John, reads, books for stimulating his mind)
- Tr (John, reads, books)
- * (John, stimulating, his mind)
- Multiple arg2 with same arg1, second arg2 starts with a verb.
- Ignore args that start R-*
- John read a book that discussed philosophy.
- A0: John read.01 A1: a book that discussed philosophy
- A0: a book discuss.01 R-A0: that A1: philosophy
- (John, read, a book that discussed philosophy)
- (a book, discussed, philosophy)
- John read a book in which philosophy was discussed.
- A0: John read.01 A1: a book in which philosophy was discussed
- A0: a book discuss.01 R-AM-LOC: in which A1: philosophy
- (John, read, a book in which philosophy was discussed)
- (a book, discussed, philosophy)
- John read a book that discussed philosophy.
- Designate the AM_TMP in tuples as Time:
- John read the book last Thursday.
- A0: John read.01 A1: the book AM_TMP: last Thursday
- (John, read, the book) Time: last Thursday
- Obama was elected in 2008.
- A0: Obama elect.01 A1: in 2008 AM_TMP: in 2008
- (Obama, was elected, in 2008) Time: in 2008
- John read the book last Thursday.
- Designate the AM_LOC in tuples as Location:
- John read the book in Paris.
- A0: John read.01 A1: the book AM_LOC: in Paris
- (John, read, the book) Location: in Paris
- Inslee was elected in Washington State.
- A0: Inslee elect.01 A1: in Washington State AM_LOC: in Washington State
- (Inslee, was elected, in 2008) Location: in Washington State
- John read the book in Paris.