The auto_functor config statement had been deprecated in the perl->prolog module, YASWI, that I use. I removed calls to it and replaced them with manual functor declarations, only 2 were needed: akkadian (parser) and makeverb (generator)
A
The auto_functor config statement had been deprecated in the perl->prolog module, YASWI, that I use. I removed calls to it and replaced them with manual functor declarations, only 2 were needed: akkadian (parser) and makeverb (generator)
A
Moving the codebase from RH 7.2, JPL 1.0.1 and SWIPL 5.2.10 to Fedora C3, and SWIPL 5.4.7 broke everything. The code was eventually rewritten, removing the cgi parsing stuff in java, and moving it to some AWK in the shell script. The goal was to use JPL3, but that broke oddly.
Upgraded the underlying SWI-Prolog to the most recent stable release, 5.2.10. Checked speeds and generation seems the same, but parsing a tiny bit slower, not enough to worry, change has been made permanent.
Status update on infinitive work: Prolog code is complete, pending some slight discrepancies for strong and first weak verbs. As the variations are far fewer, t, and tn derived stems will be included.
The java wrappers now generate an error if the root for verb generation length !=3. Also fixed the akk.pl prolog file so that there are two 'verb' bits, the old verb has become verbns(no suffix) and the part that used to do the -ma removal is now the only true 'verb' procedure, with a pass through to 'verbns'. The generator calls 'verbns' so that only the regular forms are generated, no -ma forms are ever generated, only parsed
Added code for the $ stem, parsing is basically done, some work within the akkadian.class is needed for weak stem generation