<div dir="ltr">Hi,<div><br></div><div>I am trying to load my Norwegian grammar into ACE, but I run into some issues when I try to parse a sentence.</div><div><br></div><div>Loading the grammar seems to go fine (the config file is based on that of Jacy):</div><div><br></div><div><div>petter@tor:~/tools/ace-0.9.21$ ./ace -G norsyg.dat -g ../../logon/petter/norsyg/ace/config.tdl</div><div>reading configuration       from `../../logon/petter/norsyg/ace/config.tdl&#39;</div><div>reading instance            from `../../logon/petter/norsyg/ace/../pet/qc.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../mtr.tdl&#39;</div><div>grammar version             Norsyg (1206)</div><div>format error: unknown type `+&#39;.</div><div>reading grammar             from `../../logon/petter/norsyg/ace/../norwegian.tdl&#39;</div><div>reading lexical-filtering-rulefrom `../../logon/petter/norsyg/ace/../lfr.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../matrix.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../nor.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../infl-codes.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../tmt.tdl&#39;</div><div>reading types               from `../../logon/petter/norsyg/ace/../unknown.tdl&#39;</div><div>reading lexical entries     from `../../logon/petter/norsyg/ace/../tiny-lex.tdl&#39;</div><div>reading token-mapping-rule  from `../../logon/petter/norsyg/ace/../tmr/prelude.tdl&#39;</div><div>reading token-mapping-rule  from `../../logon/petter/norsyg/ace/../tmr/pos.tdl&#39;</div><div>reading token-mapping-rule  from `../../logon/petter/norsyg/ace/../tmr/pos-ipa.tdl&#39;</div><div>reading token-mapping-rule  from `../../logon/petter/norsyg/ace/../tmr/finis.tdl&#39;</div><div>reading generic-lex-entry   from `../../logon/petter/norsyg/ace/../gle.tdl&#39;</div><div>reading rules               from `../../logon/petter/norsyg/ace/../rules.tdl&#39;</div><div>reading lexical rules       from `../../logon/petter/norsyg/ace/../tiny-irules.tdl&#39;</div><div>reading instance            from `../../logon/petter/norsyg/ace/../labels.tdl&#39;</div><div>reading instance            from `../../logon/petter/norsyg/ace/../roots.tdl&#39;</div><div>checking for glbs...        0.53 sec</div><div>processing constraints...   0.67 sec</div><div>processing rules            35 ms</div><div>processing lex-rules        0 ms</div><div>reading irregular forms     from ../irregs.tab</div><div>processing lexicon...       1 ms</div><div>simple lexemes              0 / 3 = 0.00%</div><div>3336 types (1501 glb), 3 lexemes, 77 rules, 1 orules, 983 instances, 722 strings, 234 features</div><div>loading maxent model        0 ms</div><div>reading tree labels         from `../../logon/petter/norsyg/ace/../labels.tdl&#39;</div><div>loading tree-node-labels</div><div>rule filter...              83.3% blocked (39.1% ss)</div><div>rule filter...              83.3% blocked (39.0% ss)</div><div>rule filter...              83.3% blocked (39.0% ss)</div><div>rf-transitive closure...    1 ms</div><div>loaded grammar in 2.41391s</div><div> types: 33.9M rules: 8.4M lex-info: 500 </div><div> miscellaneous: 62K lex-dgs: 71K miscellaneous: 13.7M sem-index: 85K stochastic-model: 0 latmap rules: 18K</div><div> ... freezing 55.8M to file map 0x6000000000</div><div><br></div><div><br></div><div>But when I try to parse the sentence &quot;Jon sover&quot;, I get an error message:</div><div><br></div><div>petter@tor:~/tools/ace-0.9.21$ ./ace -g norsyg.dat -Tf1</div><div>Jon sover</div><div>ERROR: toklist or toklast missing on a token</div><div>NOTE: lexemes do not span position 0 `^&#39;!</div><div>NOTE: post reduction gap</div><div>SKIP: Jon sover</div><div>NOTE: ignoring `Jon sover&#39;</div><div><br></div></div><div>It should be noted that I use REPP to add &quot;^ &quot; at the beginning of every input string, so the string the grammar attempts to parse is &quot;^ Jon sover&quot;. (&quot;^&quot; has a lexical entry.) </div><div>I don&#39;t quite understand the meaning of the ERROR message. I have tried to find out if there are any TOKENS features that are missing in the grammar, but I don&#39;t know what is expected of the grammar. I am attaching a stripped down version of the grammar in case anyone would like to try to find out what goes wrong. (The config file is in ace/.) </div><div><br></div><div>Best regards,</div><div><br></div><div>Petter</div></div>