[developers] yy mode problem
Zhengbo Zhou
zhengbo at u.washington.edu
Tue Nov 14 23:59:13 CET 2006
Hi everyone,
I used yy mode as input to PET to run my experiment last night, but the output is quite strange. Below is the detailed info:
==========================================
Command line: cat try.yy | cheap -yy -tok=yy -packing -result=1 -default-les /(path)/english.grm 2> try.parse
==========================================
input:
(0, 0, 1, 1, "Russian" "Russian", 0, "null", "NNP" 1.00)
(1, 1, 2, 1, "Deputy" "Deputy", 0, "null", "NNP" 1.00)
(2, 2, 3, 1, "Prime" "Prime", 0, "null", "NNP" 1.00)
(3, 3, 4, 1, "Minister" "Minister", 0, "null", "NNP" 1.00)
(4, 4, 5, 1, "Ilya" "Ilya", 0, "null", "NNP" 1.00)
(5, 5, 6, 1, "Klebanov" "Klebanov", 0, "null", "NNP" 1.00)
(6, 6, 7, 1, "said" "said", 0, "null", "VBD" 1.00)
(7, 7, 8, 1, "Thursday" "Thursday", 0, "null", "NNP" 1.00)
(8, 8, 9, 1, "that" "that", 0, "null", "IN" 1.00)
(9, 9, 10, 1, "collision" "collision", 0, "null", "NN" 1.00)
(10, 10, 11, 1, "with" "with", 0, "null", "IN" 1.00)
(11, 11, 12, 1, "a" "a", 0, "null", "DT" 1.00)
(12, 12, 13, 1, "big" "big", 0, "null", "JJ" 1.00)
(13, 13, 14, 1, "object" "object", 0, "null", "NN" 1.00)
(14, 14, 15, 1, "caused" "caused", 0, "null", "VBD" 1.00)
(15, 15, 16, 1, "the" "the", 0, "null", "DT" 1.00)
(16, 16, 17, 1, "Kursk" "Kursk", 0, "null", "NNP" 1.00)
(17, 17, 18, 1, "nuclear" "nuclear", 0, "null", "JJ" 1.00)
(18, 18, 19, 1, "submarine" "submarine", 0, "null", "NN" 1.00)
(19, 19, 20, 1, "to" "to", 0, "null", "TO" 1.00)
(20, 20, 21, 1, "sink" "sink", 0, "null", "VB" 1.00)
(21, 21, 22, 1, "to" "to", 0, "null", "TO" 1.00)
(22, 22, 23, 1, "the" "the", 0, "null", "DT" 1.00)
(23, 23, 24, 1, "bottom" "bottom", 0, "null", "NN" 1.00)
(24, 24, 25, 1, "of" "of", 0, "null", "IN" 1.00)
(25, 25, 26, 1, "the" "the", 0, "null", "DT" 1.00)
(26, 26, 27, 1, "Barents" "Barents", 0, "null", "NNP" 1.00)
(27, 27, 28, 1, "Sea" "Sea", 0, "null", "NNP" 1.00)
(28, 28, 29, 1, "." ".", 0, "null", "." 1.00)
===========================================
output:
reading `/lingo/delphin/erg/pet/english.set'... including `/lingo/delphin/erg/pet/common.set'... `/lingo/delphin/erg/pet/global.set'...
loading `/lingo/delphin/erg/english.grm' (LinGO (Jan-06)) reading ME model `/lingo/delphin/erg/rondane.mem'... [11846 features]
58789 types in 3.7 s
(1) `russian' [0] --- 0 (-0.00|0.00s) <3:15> (65.4K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
(2) `deputy' [0] --- 0 (-0.00|0.00s) <1:6> (18.1K) [0.0s]
(3) `prime' [0] --- 0 (-0.00|0.00s) <3:16> (73.4K) [0.0s]
(4) `minister' [0] --- 0 (-0.00|0.00s) <2:6> (43.5K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
(5) `ilya' [0] --- 0 (-0.00|0.00s) <1:6> (18.1K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
(6) `klebanov' [0] --- 0 (-0.00|0.00s) <1:6> (18.1K) [0.0s]
(7) `said' [0] --- 0 (-0.00|0.00s) <36:129> (834.2K) [0.0s]
(8) `thursday' [0] --- 0 (-0.00|0.01s) <1:12> (44.9K) [0.0s]
(9) `that' [0] --- 0 (-0.00|0.00s) <7:13> (131.1K) [0.0s]
(10) `collision' [0] --- 0 (-0.00|0.00s) <1:6> (20.1K) [0.0s]
(11) `with' [0] --- 0 (-0.00|0.00s) <3:6> (69.7K) [0.0s]
(12) `a' [0] --- 0 (-0.00|0.00s) <5:6> (83.9K) [0.0s]
(13) `big' [0] --- 0 (-0.00|0.00s) <1:7> (33.7K) [0.0s]
(14) `object' [0] --- 1 (0.00|0.00s) <4:18> (90.2K) [0.0s]
(15) `caused' [0] --- 0 (-0.00|0.01s) <20:114> (542.4K) [0.0s]
(16) `the' [0] --- 0 (-0.00|0.00s) <1:2> (87.5K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
(17) `kursk' [0] --- 0 (-0.00|0.00s) <1:6> (18.1K) [0.0s]
(18) `nuclear' [0] --- 0 (-0.00|0.00s) <1:7> (33.7K) [0.0s]
(19) `submarine' [0] --- 0 (-0.00|0.00s) <1:4> (13.6K) [0.0s]
(20) `to' [0] --- 0 (-0.00|0.00s) <13:14> (287.4K) [0.0s]
(21) `sink' [0] --- 1 (0.00|0.00s) <4:26> (118.7K) [0.0s]
(22) `to' [0] --- 0 (-0.00|0.00s) <13:14> (271.8K) [0.0s]
(23) `the' [0] --- 0 (-0.00|0.00s) <1:2> (87.5K) [0.0s]
(24) `bottom' [0] --- 0 (-0.00|0.00s) <1:4> (13.6K) [0.0s]
(25) `of' [0] --- 0 (-0.00|0.01s) <5:7> (276.2K) [0.0s]
(26) `the' [0] --- 0 (-0.00|0.00s) <1:2> (87.5K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
(27) `barents' [0] --- 0 (-0.00|0.00s) <1:6> (18.1K) [0.0s]
(28) `sea' [0] --- 0 (-0.00|0.00s) <2:9> (32.0K) [0.0s]
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
warning: unknown type `$generic_mass_count_noun' in POS mapping
no lexicon entries for .
===========================================
I used PET 0.99.12. I ran PET a couple of weeks ago (used both string input and yy input, but not the exact same command line), and the result seems fine. I don't know why. Is there anybody can give me a hint or so?
Thanks a lot!
Zhengbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20061114/38882b29/attachment.html>
More information about the developers
mailing list