Closed schmmd closed 11 years ago
This problem happens because :P
is identified as a verb used in a semantic frame. :
is a reserved character. Ideally I would have escaping so this wouldn't cause a problem, but I'm unlikely to do this now. I could move reserved characters {[, ], :} to a close approximate (, ), -. This is probably better than an exception. What do you think?
Yeah, for now I think that would be better as long as it doesn't change the length of the string.
Seeing as you won't upgrade srlie, it's not going to help you out at all on your present project.
On Thu, Jun 27, 2013 at 9:51 AM, Rob notifications@github.com wrote:
Yeah, for now I think that would be better as long as it doesn't change the length of the string.
— Reply to this email directly or view it on GitHubhttps://github.com/knowitall/srlie/issues/4#issuecomment-20137298 .
Fixed by https://github.com/knowitall/nlptools/pull/10. Here is the new output:
frames:
live_1.01:[A0=I_0, AM-LOC=near_3]
be_8.01:[A1=healthy_7, A2=far_9]
describe_14.01:[R-AM-MNR=how_11, A0=I_12, AM-MOD=would_13, A1=them_15]
consider_24.01:[A0=some_20, AM-MOD=should_23, A1=laying_25]
lay_25.02:[A0=some_20, C-V=off_26, A2=on_27]
-p_36.01:[AM-TMP=again_32, AM-MOD=should_34, A0=I_35, A1=configuration_38]
hierarchical frames:
-p.01:[AM-TMP=again, AM-MOD=should, A0=I, A1=configuration]
be.01:[A1=healthy, A2=far]
describe.01:[R-AM-MNR=how, A0=I, AM-MOD=would, A1=them]
consider.01:[A0=some, AM-MOD=should, A1=laying] < live.01:[A0=I, AM-LOC=near], lay.02:[A0=some, C-V=off, A2=on]
extractions:
0.46: (healthy; is; far from how I would describe them)
0.31: (I; would describe; them)
0.60: (some of them; should consider; laying off on the donuts)
0.43: some of them should consider:(I; live healthy; L:near Fort Gordon)
0.60: some of them should consider:(some of them; should consider laying off; on the donuts)
triples:
(healthy; is; far from how I would describe them)
(I; would describe; them)
(some of them; should consider; laying off on the donuts)
some of them should consider:(I; live healthy near; L:Fort Gordon)
some of them should consider:(some of them; should consider laying off on; the donuts)
I should split this into two separate issues. Here are more detailed for one of the issues.