2012/8/10 Mikel Artetxe <artet...@gmail.com>

> If all the Apertium developers had thought that way, nothing would have
>> been done so far, so the OmegaT plug-in itself would be inconceivable! All
>> in all, I have absolutely no idea about the linguistic facts that are under
>> discussion here, but I really think that you shouldn't base your decision
>> on what the OmegaT plug-in does right now.
>
>
I agree :-)


>
> Being said that, I've been thinking about how we could support Constraint
> Grammar in lttoolbox-java (and, consequently, in the OmegaT plug-in), and I
> think that we could consider 3 different alternatives:
>
> 1) Invoke it as an external program. Note that lttoolbox-java can already
> deal with that. In fact, apertium-viewer is now built on top of
> lttoolbox-java, and it still works with language pairs with external
> dependencies. As for the OmegaT plug-in, it works with resources compressed
> in a JAR, so directly invoking cg-proc wouldn't work for it. We would need
> to extract the required resources to a temporary directory and invoke it
> with the correct parameters, which is not currently supported, but it
> shouldn't be too difficult to implement. The disadvantage of this approach
> is that the user would need to install the Constraint Grammar package in
> his machine as usual, so the solution wouldn't be portable at all. For
> instance, this wouldn't work under Android.
>

Invoking external programs works fine in Android.
The only difference in Android is that we would have to have the GC
programs in the app's directory.
And... it seems its not so easy to compile programs using ICU on Android.


If people think that it would be useful, I could implement solution 1)
> quite easily. That would serve to make the OmegaT plug-in work with
> language pairs that depend on CG (although the user would have to install
> CG manually).
>

Having the user to install CG manually on his/her desktop machine is fine.

If implemented I'd suggest that we expand the 'language-pairs' file in
builds/ with a keyword saying that CG is required.


-- 
Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
javabog.dk
Androidudvikler og -underviser på
IHK<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
Lund&Bendsen <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
------------------------------------------------------------------------------
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
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to