Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zht grammar cannot be compiled with ace 0.9.30 #7

Open
letuananh opened this issue May 13, 2021 · 2 comments
Open

zht grammar cannot be compiled with ace 0.9.30 #7

letuananh opened this issue May 13, 2021 · 2 comments

Comments

@letuananh
Copy link

I tried to compile zht branch (from both official release v1.0-ZZ_PhD and the master branch but both couldn't be compiled (I tried ace-0.9.26 and ace-0.9.30). The zhs branch works fine with ace-0.9.30. Did I miss something in order to compile zht branch? Here is the build log:

[zht]$ ace-0.9.30 -G zht-0.9.30.dat -g ace/config.tdl 
reading configuration       from `ace/config.tdl'
grammar version             Mandarin Chinese - traditional (2014-08-25_03:10:28_UTC)
reading grammar             from `ace/../zht-pet.tdl'
reading lexical-filtering-rulefrom `ace/../lfr.tdl'
reading types               from `ace/../head-types.tdl'
reading types               from `ace/../matrix.tdl'
reading types               from `ace/../zhong.tdl'
warning: ace/../zhong.tdl:72 redefines type `sign-min' from ace/../matrix.tdl:34
warning: ace/../zhong.tdl:439 redefines type `non-local' from ace/../matrix.tdl:229
warning: ace/../zhong.tdl:445 redefines type `basic-one-arg' from ace/../matrix.tdl:2483
warning: ace/../zhong.tdl:459 redefines type `basic-two-arg' from ace/../matrix.tdl:2503
warning: ace/../zhong.tdl:477 redefines type `basic-three-arg' from ace/../matrix.tdl:2529
warning: ace/../zhong.tdl:485 redefines type `unary-phrase' from ace/../matrix.tdl:1310
warning: ace/../zhong.tdl:498 redefines type `head-nexus-phrase' from ace/../matrix.tdl:1264
warning: ace/../zhong.tdl:523 redefines type `basic-head-subj-phrase' from ace/../matrix.tdl:1716
warning: ace/../zhong.tdl:630 redefines type `basic-np-top-coord-rule' from ace/../matrix.tdl:3466
warning: ace/../zhong.tdl:640 redefines type `s-coord-phrase' from ace/../matrix.tdl:3571
warning: ace/../zhong.tdl:648 redefines type `mid-coord-rule' from ace/../matrix.tdl:3234
warning: ace/../zhong.tdl:974 redefines type `basic-determiner-lex' from ace/../matrix.tdl:3100
warning: ace/../zhong.tdl:977 redefines type `infostr-marking-determiner-lex' from ace/../matrix.tdl:3106
warning: ace/../zhong.tdl:984 redefines type `clause' from ace/../matrix.tdl:1497
warning: ace/../zhong.tdl:996 redefines type `basic-non-rel-clause' from ace/../matrix.tdl:1550
warning: ace/../zhong.tdl:1019 redefines type `basic-head-subj-phrase' from ace/../zhong.tdl:523
warning: ace/../zhong.tdl:1062 redefines type `basic-head-mod-phrase-simple' from ace/../matrix.tdl:2198
warning: ace/../zhong.tdl:1172 redefines type `basic-head-spec-phrase' from ace/../matrix.tdl:1783
warning: ace/../zhong.tdl:1275 redefines type `basic-bare-np-phrase' from ace/../matrix.tdl:2066
warning: ace/../zhong.tdl:1832 redefines type `hook' from ace/../matrix.tdl:406
warning: ace/../zhong.tdl:1869 redefines type `basic-head-opt-comp-phrase' from ace/../matrix.tdl:1899
reading types               from `ace/../zhong-lextypes.tdl'
warning: ace/../zhong-lextypes.tdl:366 redefines type `transitive-lex-item' from ace/../matrix.tdl:2634
warning: ace/../zhong-lextypes.tdl:2215 redefines type `basic-mod-adj-lex' from ace/../matrix.tdl:3043
reading types               from `ace/../zhong-letypes.tdl'
reading types               from `ace/../cmn.tdl'
reading types               from `ace/../zht.tdl'
reading types               from `ace/../mtr.tdl'
reading types               from `ace/../tmt.tdl'
reading token-mapping-rule  from `ace/../../../tmr/prelude.tdl'
reading token-mapping-rule  from `ace/../../../tmr/pos.tdl'
reading token-mapping-rule  from `ace/../../../tmr/pos-ipa.tdl'
reading token-mapping-rule  from `ace/../../../tmr/finis.tdl'
reading token-mapping-rule  from `ace/../../../tmr/ne1.tdl'
reading rules               from `ace/../rules.tdl'
ace/../lrules.tdl: そのようなファイルやディレクトリはありません
reading lexical rules       from `ace/../irules.tdl'
reading lexical entries     from `ace/../lexicon.tdl'
reading instance            from `ace/../labels.tdl'
reading instance            from `ace/../roots.tdl'
checking for glbs...        80 ms
processing constraints...   0.12 sec
processing rules            3 ms
processing lex-rules        0 ms
reading irregular forms     from ../irregs.tab
ace/../irregs.tab: そのようなファイルやディレクトリはありません
processing lexicon...       lexeme `進_v' has nonextant type `v_np-vp_aequi_le'
tdl: top-level error occured near ace/../lexicon.tdl:512
@goodmami
Copy link
Member

I think zht has been unmaintained for some time and it's probably just broken. I don't think this is an ACE issue. But that's just a guess.

@letuananh
Copy link
Author

Thank you @goodmami

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants