[developers] using PET in 64-bit mode

Francis Bond fcbond at gmail.com
Fri Aug 15 04:04:25 CEST 2008


G'day,
2008/8/8 Bernd Kiefer <kiefer at dfki.de>:> PET is compilable on 64 bit machines for quite a while already. I remember> that somebody (i think it was Eric, not quite sure) said that results on 32> bit and 64 bit PET were different for some grammars.>> Maybe the grammar writers could check this by comparing the results of their> 32 bit test runs against the 64 bit PET version. If there are differences,> we can sure pin them down (Peter already has gained some experience with> this lately :-)
Sorry to be so slow to get round to this.
On the same grammar (a fresh download of jacy from svn) on a 1500 itemtest-suite, running on the ubuntu 32bit and 64bit packages there weredifferences in 32 sentences.
How is the best way to report them?
-- Francis Bond <http://www2.nict.go.jp/x/x161/en/member/bond/>NICT Language Infrastructure Group

P.S. for example 619 "彼 と は 幼なじみ です" gets 2 parses in 32bit and agenerous 3 in 64bit.  In this case, I believe that three is thecorrect number, at least that is what the lkb gets with the samegrammar.
32bit:
(utterance-root (313 utterance_rule-decl-finite -2.79125 0 5 (308hf-adj-i-rule -2.77244 0 5 (302 hf-complement-rule 0.768242 0 3 (301hf-complement-rule 0.691078 0 2 (6 kare 0 0 1 ("彼" 0 1)) (37 to-comp10.395993 1 2 ("と" 1 2))) (66 wa-comparg 0.266404 2 3 ("は" 2 3))) (307hf-complement-rule -2.88181 3 5 (303 quantify-n-lrule 0.159015 3 4 (70osananajimi_1 0 3 4 ("幼なじみ" 3 4))) (306 unary-vstem-vend-rule -2.063734 5 (305 subj-zpro-ins-lrule -1.33386 4 5 (304 desu-lexeme-infl-rule-1.2065 4 5 (71 desu-v-cop-id-stem -1.04114 4 5 ("です" 4 5)))))))))
(utterance-root (312 utterance_rule-decl-finite -3.54891 0 5 (311hf-adj-i-rule -3.53009 0 5 (310 hf-complement-rule 0.0105878 0 3 (309hf-complement-rule 0.488607 0 2 (6 kare 0 0 1 ("彼" 0 1)) (31to-advp-exh-1 -0.0586652 1 2 ("と" 1 2))) (68 wa-parg -0.145294 2 3("は" 2 3))) (307 hf-complement-rule -2.88181 3 5 (303 quantify-n-lrule0.159015 3 4 (70 osananajimi_1 0 3 4 ("幼なじみ" 3 4))) (306unary-vstem-vend-rule -2.06373 4 5 (305 subj-zpro-ins-lrule -1.33386 45 (304 desu-lexeme-infl-rule -1.2065 4 5 (71 desu-v-cop-id-stem-1.04114 4 5 ("です" 4 5)))))))))
64bit:
(utterance-root (245 utterance_rule-decl-finite -2.79125 0 5 (242hf-adj-i-rule -2.77244 0 5 (232 hf-complement-rule 0.768242 0 3 (231hf-complement-rule 0.691078 0 2 (6 kare 0 0 1 ("彼" 0 1)) (25 to-comp10.395993 1 2 ("と" 1 2))) (41 wa-comparg 0.266404 2 3 ("は" 2 3))) (240hf-complement-rule -2.88181 3 5 (236 quantify-n-lrule 0.159015 3 4 (45osananajimi_1 0 3 4 ("幼なじみ" 3 4))) (239 unary-vstem-vend-rule -2.063734 5 (238 subj-zpro-ins-lrule -1.33386 4 5 (237 desu-lexeme-infl-rule-1.2065 4 5 (46 desu-v-cop-id-stem -1.04114 4 5 ("です" 4 5)))))))))
(utterance-root (246 utterance_rule-decl-finite -3.54891 0 5 (243hf-adj-i-rule -3.53009 0 5 (228 hf-complement-rule 0.0105878 0 3 (227hf-complement-rule 0.488607 0 2 (6 kare 0 0 1 ("彼" 0 1)) (19to-advp-exh-1 -0.0586652 1 2 ("と" 1 2))) (43 wa-parg -0.145294 2 3("は" 2 3))) (240 hf-complement-rule -2.88181 3 5 (236 quantify-n-lrule0.159015 3 4 (45 osananajimi_1 0 3 4 ("幼なじみ" 3 4))) (239unary-vstem-vend-rule -2.06373 4 5 (238 subj-zpro-ins-lrule -1.33386 45 (237 desu-lexeme-infl-rule -1.2065 4 5 (46 desu-v-cop-id-stem-1.04114 4 5 ("です" 4 5)))))))))
New parse:(utterance-root (244 utterance_rule-decl-finite -4.6957 0 5 (241hf-adj-i-rule -4.67689 0 5 (235 hf-complement-rule -1.13621 0 3 (234hf-complement-rule -1.21337 0 2 (233 frg-np -0.0314627 0 1 (6 kare 0 01 ("彼" 0 1))) (22 to-comp-quotarg -0.273349 1 2 ("と" 1 2))) (41wa-comparg 0.266404 2 3 ("は" 2 3))) (240 hf-complement-rule -2.88181 35 (236 quantify-n-lrule 0.159015 3 4 (45 osananajimi_1 0 3 4 ("幼なじみ" 34))) (239 unary-vstem-vend-rule -2.06373 4 5 (238 subj-zpro-ins-lrule-1.33386 4 5 (237 desu-lexeme-infl-rule -1.2065 4 5 (46desu-v-cop-id-stem -1.04114 4 5 ("です" 4 5)))))))))



More information about the developers mailing list