ah sorry, i've found the rest of the code and checked it in.
https://github.com/moses-smt/mosesdecoder/tree/android-ui
Looks like a lot of people are interested in this so if you continue to
develop it openly on github, other people may be able to help you.
Some things i found when doing it:
1. The android NDK compiler is very different from a normal C++
compiler. eg. it doesn't support exceptions, lots of code that compile
ok with gcc broke with the ndk compiler.
Therefore, the code changed a lot from the original. It may
be better to follow Ken's advice, set up a linux distribution on android
and compile moses statically.
2. To save memory and have quick loading time, the language model
and phrase-table has to be binarized. The binary phrase-table isn't a
problem. However, ARM chips require that datastructures be in multiple
of 32-bits ('aligned'). This isn't the case with some datastructure in
the irstlm (maybe also kenlm).
good luck. if you need help, please let me know. I'm interested in the
progress of this project too.
On 27/11/2012 05:47, myounggun jang wrote:
I'm trying to port the moses decoder for android
I'll make tables in linux system. and then I just use it in android
system. I just need to port moses decoder.
I'm trying to find article about moses android porting. however I
didn't find useful article.
I found data for android
http://www.mail-archive.com/[email protected]/msg06392.html
however there are missing parts.
is there any aticle or some ported source for android and ios?
Thanks in advance.
MG Jang
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support