Attached you'll find a copy of cmavo.txt and gismu.txt with only the actual words retained. The definition and class information has been removed. I run this file through jbogenturfa'i one line at a time and output all of the words seen on each line. This file is called baseline.txt. I did the same for vlastezba, creating output.txt. I've also attached the script I used to run vlastezba, which works around the two previously reported issues with the parser (one of which you've already fixed.) The file diff.txt is a comparison between jbogenturfa'i and vlastezba. While this is not an exhaustive test (earlier issues I reported are not covered by these test cases), I do consider it a sort of minimal test. There are no lujvo, fu'ivla, cmene, or non-Lojban words here, however. vlastezba crashes on 80 of the 2433 tests. For the remaining tests, it produces results consistent with jbogenturfa'i. I suspect most of these tests are crashing on the same or nearly the same problem; they're clustered in the input around certain word forms. Will you fix your program so it no longer crashes on these 80 lines? Will you add regression testing for these cases so you can verify that the program still works after changes? -Alan On Wed, Apr 20, 2011 at 11:02:28AM +0200, Johan Pretorius wrote: > Hi all > > You can download it from here: > [1]http://sourceforge.net/projects/vlastezba/files/vlastezba.jar/download > > I have completed the cmavo cluster breakout code, and tested it as far as > I was able. > > It should be easy enough to run if you have Java 1.6 installed, just go > java -jar vlastezba.jar and it will print out usage instructions. > > Please download it and test to pieces! I'd love all your feedback. > > Not that it doesn't get very smart at this stage - for instance, it won't > know what to do if you feed it a string of lojban that doesn't have any > spaces in. The only clever bit is that it's able to break apart cmavo > clusters if they don't have any spaces. > > Regards, > Johan > > -- > Johan Pretorius > Cell: 0829268327 > [2]pretoriusjf@gmail.com > > -- > You received this message because you are subscribed to the Google Groups > "Lojban Beginners" group. > To post to this group, send email to lojban-beginners@googlegroups.com. > To unsubscribe from this group, send email to > lojban-beginners+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/lojban-beginners?hl=en. > > References > > Visible links > 1. http://sourceforge.net/projects/vlastezba/files/vlastezba.jar/download > 2. mailto:pretoriusjf@gmail.com -- .i ma'a lo bradi ku penmi gi'e du -- You received this message because you are subscribed to the Google Groups "Lojban Beginners" group. To post to this group, send email to lojban-beginners@googlegroups.com. To unsubscribe from this group, send email to lojban-beginners+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban-beginners?hl=en.
Attachment:
vlastezba-cipra.tgz
Description: application/tar-gz