Ilnar, going to View->Options and checking "Use external processing" should
solve your problem. For the full explanation, see below.


On Fri, Feb 22, 2013 at 10:09 PM, Jacob Nordfalk
<[email protected]>wrote:

> Hi Ilnar,
>
> 2013/2/20 Ilnar Salimzyan <[email protected]>
>
>> Dear Apertiumers,
>>
>> Apertium-viewer crashes immediately after the start. I get this output:
>>
>> selimcan@achilles:~$ javaws
>>
>> https://apertium.svn.sourceforge.net/svnroot/apertium/builds/apertium-viewer/launch.jnlp
>> startup txt = Sample text
>> newTxt = Sample text
>> newTxt = ^Sample/*Sample$ ^text/*text$
>> newTxt = ^Sample/*Sample$ ^text/*text$
>> newTxt = ^*Sample$ ^*text$
>> newTxt = ^*Sample$ ^*text$
>> newTxt = ^*Sample$ ^*text$
>> newTxt = ^*Sample$ ^*text$
>> getopt.invalid
>> Unregognized parameter: ?
>> LTProc3.2j: process a stream with a letter transducer
>> USAGE: LTProc [-c] [-a|-g|-n|-d|-b|-p|-s|-t] fst_file [input_file
>> [output_file]]
>> Options:
>>   -a:   morphological analysis (default behavior)
>>
>> It looks like lttoolbox-java gives an error, so I installed the latest
>> version of it from svn, but got the same result.
>>
>
apertium-viewer doesn't use your local installation of lttoolbox-java, so
updating it has no practical effect. In fact, the only requirement to run
apertium-viewer is java.


>
> This is very strange. It seems  lttoolbox-java is used?
> Apertium-viewer was made to use the C++ version when running locally
> installed pairs, and the Java version when running online.
>

Nope. The default behaviour since version 2.0 is to use lttoolbox-java for
both local and online pairs, but the C++ version can still be enabled in
the settings as I've described above (but it only works for local pairs).
The main motivation for this design is performance, since there is no
noticeable lag with lttoolbox-java unlike with the C++ version. If the
language pair in question requires to run some external program,
lttoolbox-java can deal with it. It seems that the problem here is that
lttoolbox-java doesn't support some parameter for LTProc that the C++
version does, so it simply crashes. Perhaps it should try to invoke the
external program in these cases as well?
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to