> I was only half right - this is a different issue. I committed 39497
> to lttoolbox-java in trunk[1] to check for an empty translation, but
> this is only a partial fix, as it leads to "ghost" = signs in the text
> where this has happened. (To do otherwise would require a bit more
> effort, and I'm not entirely convinced it's worth it).
>

I haven't really understood the technical details, but lttoolbox-java still
crashes... Look:

[mikel@fedora dist]$ echo "will" | java -jar lttoolbox.jar apertium -a -d
/usr/local/share/apertium/ en-es
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at
java.lang.AbstractStringBuilder.charAt(AbstractStringBuilder.java:174)
    at java.lang.StringBuilder.charAt(StringBuilder.java:55)
    at
org.apertium.lttoolbox.process.FSTProcessor.generation(FSTProcessor.java:1323)
    at org.apertium.lttoolbox.LTProc.doMain(LTProc.java:248)
    at org.apertium.pipeline.Dispatcher.doLTProc(Dispatcher.java:259)
    at org.apertium.pipeline.Dispatcher.dispatch(Dispatcher.java:333)
    at
org.apertium.pipeline.ApertiumMain._dispatchPipeline(ApertiumMain.java:232)
    at org.apertium.pipeline.ApertiumMain.main(ApertiumMain.java:290)
    at org.apertium.CommandLineInterface.main(CommandLineInterface.java:63)
    at org.apertium.lttoolbox.LTToolbox.main(LTToolbox.java:17)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to