Difference between revisions of "SRL"
From Knowitall
SSoderland (talk | contribs) (Created page with "Rule 1: 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 rea...") |
|||
Line 1: | Line 1: | ||
− | + | == 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 hopes to read the 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. | |
− | John sat in the library, reading a book. | + | #::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 reads books to stimulate his mind. | + | ## 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 reads books for stimulating his mind. | + | ##:: (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) | |
− | John read a book that discussed philosophy. | + | ## 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 read a book in which philosophy was discussed. | + | ##:: (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) | |
− | + | # Ignore args that start R-* | |
− | + | #: John read a book that discussed philosophy. | |
− | John read the book last Thursday. | + | #:: 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) | |
− | Obama was elected in 2008. | + | #:: (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) | |
− | John read the book in Paris. | + | #:: (a book, discussed, philosophy) |
− | + | # Designate the AM_TMP in tuples as Time: | |
− | + | #: John read the book last Thursday. | |
− | Inslee was elected in Washington State. | + | #:: 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 | ||
+ | # 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 |
Revision as of 19:33, 22 February 2013
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.