[developers] yy mode error
Zhengbo Zhou
zhengbo at u.washington.edu
Fri Dec 1 07:27:23 CET 2006
G'day,
Sorry, I am still running into the yy mode problem. Here is the test file I used:
================================================================================
(42, 0, 1, 1, "This" "This", 0, "null", "DD1" 1.00)
(43, 1, 2, 1, "FAQ" "FAQ", 0, "null", "NP1" 1.00)
(44, 2, 3, 1, "will" "will", 0, "null", "VM" 1.00)
(45, 3, 4, 1, "concentrate" "concentrate", 0, "null", "VV0" 1.00)
(46, 4, 5, 1, "on" "on", 0, "null", "II" 1.00)
(47, 5, 6, 1, "the" "the", 0, "null", "AT" 1.00)
(48, 6, 7, 1, "wireless" "wireless", 0, "null", "JJ" 1.00)
(49, 7, 8, 1, "systems" "systems", 0, "null", "NN2" 1.00)
(50, 8, 9, 1, "used" "used", 0, "null", "VVN" 1.00)
(51, 9, 10, 1, "in" "in", 0, "null", "II" 1.00)
(52, 10, 11, 1, "the" "the", 0, "null", "AT" 1.00)
(53, 11, 12, 1, "United" "United", 0, "null", "JJ" 1.00)
(54, 12, 13, 1, "States" "States", 0, "null", "NN2" 1.00)
================================================================================
And here is the command line:
cat yytest.txt | cheap -tok=yy -mrs -result=1 -default-les /lingo/delphin/erg/english.grm
By looking at the output, I found:
"no lexicon entries for faq"
Does this mean the tag has some problem? and:
"(11) `the' [0] --- 0 (-0.00|0.00s) <1:2> (93.2K) [0.0s]"
Does it mean there is no parse (lexicon) for "the"?
Thank you for any help!! I'm using PET 0.99.12 and ERG NOV-06
Sincerely
Zhengbo
And here is the entire output:
===============================================================================
(1) `this' [0] --- 1 (0.00|0.00s) <3:6> (50.5K) [0.0s]
derivation[1] (0):this
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: x6 [ x PNG.GEN: NEUT PNG.PN: 3SG PRONTYPE: PRONTYPE DIV: BOOL --TPC: LUK ] ]
[ generic_entity_rel
LBL: h7
ARG0: x6 ]
[ _this_q_dem_rel
LBL: h8
ARG0: x6
RSTR: h9
BODY: h10 ] >
HCONS: < h3 qeq h1 h9 qeq h7 > ]
no lexicon entries for faq
(3) `will' [0] --- 3 (0.00|0.01s) <4:24> (168.4K) [0.0s]
derivation[1] (0):will
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.TENSE: FUTURE E.MOOD: INDICATIVE E.ASPECT.PROGR: - E.ASPECT.PERF: LUK ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u5
TPC: u4 ]
[ ellipsis_ref_rel
LBL: h6
ARG0: e2
ARG1: x7 [ x PNG.PN: PERNUM PNG.GEN: REAL_GENDER DIV: BOOL --TPC: LUK ] ] >
HCONS: < h3 qeq h6 > ]
(4) `concentrate' [0] --- 4 (0.00|0.00s) <4:25> (171.1K) [0.0s]
derivation[1] (0):concentrate
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: INDICATIVE E.TENSE: PRESENT E.ASPECT.PROGR: - E.ASPECT.PERF: - ]
RELS: <
[ basic_imp_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ pronoun_q_rel
LBL: h1
ARG0: x7 [ x PNG.PN: 2PER PNG.GEN: REAL_GENDER PRONTYPE: ZERO_PRON --TPC: LUK DIV: BOOL ]
RSTR: h6
BODY: h8 ]
[ pron_rel
LBL: h1
ARG0: x7 ]
[ "_concentrate_v_1_rel"
LBL: h9
ARG0: e2
ARG1: x7 ] >
HCONS: < h3 qeq h9 h6 qeq h1 > ]
(5) `on' [0] --- 1 (0.00|0.00s) <5:10> (113.2K) [0.0s]
derivation[1] (0):on
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: u6 ]
[ _on_p_dir_rel
LBL: h1
ARG0: e2
ARG1: u7 ] >
HCONS: < h3 qeq h1 > ]
(6) `the' [0] --- 0 (-0.00|0.00s) <1:2> (93.2K) [0.0s]
(7) `wireless' [0] --- 2 (0.00|0.00s) <2:10> (82.0K) [0.0s]
derivation[1] (0):wireless
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: i6 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ] ]
[ "_wireless_a_1_rel"
LBL: h7
ARG0: e8 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
ARG1: i6 ] >
HCONS: < h3 qeq h1 > ]
(8) `systems' [0] --- 1 (0.00|0.00s) <5:14> (91.8K) [0.0s]
derivation[1] (0):systems
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: x6 [ x --TPC: LUK PRONTYPE: PRONTYPE DIV: + PNG.GEN: REAL_GENDER PNG.PN: 3PL ] ]
[ udef_q_rel
LBL: h7
ARG0: x6
RSTR: h8
BODY: h9 ]
[ "_system_n_of_rel"
LBL: h10
ARG0: x6
ARG1: i11 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ] ] >
HCONS: < h3 qeq h1 h8 qeq h10 > ]
(9) `used' [0] --- 5 (0.01|0.02s) <63:108> (1216.0K) [0.0s]
derivation[1] (0):used
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: i6 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ] ]
[ "_used_a_1_rel"
LBL: h7
ARG0: e8 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
ARG1: i6 ] >
HCONS: < h3 qeq h1 > ]
(10) `in' [0] --- 1 (0.01|0.01s) <5:10> (114.4K) [0.0s]
derivation[1] (0):in
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: u6 ]
[ _in_p_dir_rel
LBL: h1
ARG0: e2
ARG1: u7 ] >
HCONS: < h3 qeq h1 > ]
(11) `the' [0] --- 0 (-0.00|0.00s) <1:2> (93.2K) [0.0s]
(12) `united' [0] --- 8 (0.00|0.01s) <26:102> (707.6K) [0.0s]
derivation[1] (0):united
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u4
TPC: u5 ]
[ unknown_rel
LBL: h1
ARG0: e2
ARG: i6 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ] ]
[ "_united_a_1_rel"
LBL: h7
ARG0: e8 [ e --TPC: LUK E.MOOD: MOOD E.ASPECT.PROGR: LUK E.ASPECT.PERF: LUK E.TENSE: BASIC_TENSE ]
ARG1: i6 ] >
HCONS: < h3 qeq h1 > ]
(13) `states' [0] --- 2 (0.01|0.01s) <8:36> (265.8K) [0.0s]
derivation[1] (0):states
[ LTOP: h1
INDEX: e2 [ e --TPC: LUK E.TENSE: PRESENT E.MOOD: INDICATIVE E.ASPECT.PROGR: - E.ASPECT.PERF: - ]
RELS: <
[ prop-or-ques_m_rel
LBL: h1
ARG0: e2
MARG: h3
PSV: u5
TPC: u4 ]
[ "_state_v_1_rel"
LBL: h6
ARG0: e2
ARG1: i7 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ]
ARG2: i8 [ i --TPC: LUK DIV: BOOL PNG.PN: PERNUM PNG.GEN: REAL_GENDER ] ] >
HCONS: < h3 qeq h6 > ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20061130/b96d32d6/attachment.html>
More information about the developers
mailing list