2012/3/25 Jayamal De Vas Gunawardhana <[email protected]>

> Hi Jacob..
>
> As I said earlier I have successfully compiled and built the lttoolbox.jar
> file. But yet I couldn't compile the language pack. Unfortunately I'm using
> Windows. Not the Ubuntu or any Linux version. So the given steps in the
> "Minimal installation from SVN" article doesn't suits me.


OK.

I assume you tried
http://wiki.apertium.org/wiki/Ideas_for_Google_Summer_of_Code/Apertium_on_your_mobile#Coding_challenge

"If you can't do this step for some reason you can download a compiled pair
here: http://javabog.dk/filer/apertium-eo-en.tar.gz (at this case, you
should manually modify some paths in both eo-en.mode and en-eo.mode then
copy them to modes/ directory)"

(BTW sorry, I overlooked that you'd need to edit the mode files - thanks to
Echo for improving the wiki -
http://wiki.apertium.org/w/index.php?title=Ideas_for_Google_Summer_of_Code/Apertium_on_your_mobile&diff=32840&oldid=32839
 )


Here is apertium-eo-en/modes/eo-en.mode after editing. Ive removed
'/home/j/apertium/trunk/' path prefix:

    /usr/local/bin/lt-proc apertium-eo-en/eo-en.automorf.bin
|/usr/local/bin/apertium-tagger -g $2 apertium-eo-en/eo-en.prob
|/usr/local/bin/apertium-pretransfer|/usr/local/bin/apertium-transfer
apertium-eo-en/apertium-eo-en.eo-en.t1x  apertium-eo-en/eo-en.t1x.bin
 apertium-eo-en/eo-en.autobil.bin |/usr/local/bin/apertium-interchunk
apertium-eo-en/apertium-eo-en.eo-en.antaux_t2x
 apertium-eo-en/eo-en.antaux_t2x.bin |/usr/local/bin/apertium-interchunk
apertium-eo-en/apertium-eo-en.eo-en.t2x  apertium-eo-en/eo-en.t2x.bin
|/usr/local/bin/apertium-postchunk apertium-eo-en/apertium-eo-en.eo-en.t3x
 apertium-eo-en/eo-en.t3x.bin |/usr/local/bin/lt-proc $1
apertium-eo-en/eo-en.autogen.bin

This makes it possible for me to successfully invoke

echo "Saluton, mi estas Jacob" | java -jar
/usr/local/share/apertium/lttoolbox.jar apertium-j -d apertium-eo-en/ eo-en

(note that this is done from the super directory of  apertium-eo-en/ )



> Although I tried the compiled language pair and mode files which provided
> by Mikel, I couldn't understand the path changing.

Because It also consists with a  Ubuntu path. I hope I can succeed the
> project If I could compile the language pack.


Compiling on Windows isnt straight forward. Compiling consists of executing
'make' and use the Makefile.
See http://wiki.apertium.org/wiki/Apertium_on_Windows

Note that i think that
http://wiki.apertium.org/wiki/Apertium_guide_for_Windows_users is not
enough to be able to *compile* pairs from source. Could anyone confirm that?


Because I'm aware and I have a good knowledge on Android. So I kindly
> request your help to compile the language pair on windows platform. If you
> can guide me to change the paths of the mode files which Mikel have
> compiled, that could be a help for me.
>

OK. What is your IRC nickname?
I am on #apertium now.



-- 
Jacob Nordfalk <https://plus.google.com/114820443085046080944>
http://javabog.dk
Android-udvikler og underviser på
IHK<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
Lund&Bendsen <https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to