Worked on the multi-threaded, socketed version of the Java code. Got it working, but noticed that the parser was no longer returning more than one value, so moved threaded changes to new code base. Tracked problem to double increment of a value, fixed. Threaded version still has problems, but looks promising
Recently in Java Category
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
Security repairs in the parseAkk class. Now it checks the length of both input strings and most of the form input for validity and on an error DOES NOT return the entire offending string
Rewrote most of the akkadian class to split the actual parsing work from the HTML output. two new procedures, one called parse, which does all the the Prolog based parsing and returns as a matrix of strings, and getHtml, which returns the html that main would have previously. Main now returns plaintext suited for CLI interaction. Another procedure htmlify is private, but does the actual html formatting