Thanks Hieu, 

I will look into all of the advice you have given.


After looking at your page for the OLPC, it looks like you have chosen to
offload the work to the server. I believe this was something we were trying
to avoid, but I may have to reconsider. It would simplify somethings(While
making other things more interesting of course...) 

Thanks again for your
input. 

Andrew 

On Tue, 12 Jan 2010 12:37:53 +0000, Hieu Hoang  wrote: 
hi andrew

 some of us have been working on putting moses onto the OLPC

http://wiki.laptop.org/go/Projects/Automatic_translation_software [1]

which has roughly the same resources as an iphone. We've got it working for
reasonable size models

 my advice would be:
 1. The moses-cmd shows you
how to interact with the moses library. For normal decoding, it's quite
simple. To make it even more simple for the gui developers, I would create
a static library as a replacement for moses-cmd. Call the static library
functions from your gui, rather than the moses functions directly
 2. from
what i know of ARM development, there are compiler switches to enable fast
floating point operations. Make sure these are enabled.
 3. the moses
library assumes lots of memory so caches certain objects. Look throught
this mailing list to see how to turn caching off.
 4. Iphone apps can't run
in the background so it would be best to have instant loading. This is not
the case with any of our models, which can take some time to initialize.
Speciically the phrase table and language models. You may have to write new
implementations for them.
 5. There may be littendian/bigendian issues with
the binary phrase tables & language models. i.e you may not be able to
create a binary phrase table/LM on your desktop and expect it to work on
the iphone.

 i think its definitely doable, but don't expect just to be
able to compile & go

 sounds like a fun project, let us know how it
goes.

 On 11/01/2010 17:57, Andrew W. Haddad wrote:  

Hello, 

My name is
Andrew Haddad. I am a Graduate Research Assistant at Purdue University. I
have been given the task of getting moses working on the iphone. The moses
package, which we have successfully installed and have running in
simulation on the iphone will of course not work due to some limitations
put for by Apple. 

I am going to be forced to cross compile the moses
static library, used in moses-cmd, for the arm and i386 architecture. And
then rewrite the functionality of moses-cmd to be used in our application.
Do you know of anyone who has attempted something similar, that might be
able to explain the process?  
-- 
Sláinte
Andrew W. Haddad
  
_______________________________________________ Moses-support mailing list
[email protected] [2]
http://mailman.mit.edu/mailman/listinfo/moses-support [3]   

-- 

        *
Sláinte



Links:
------
[1]
http://wiki.laptop.org/go/Projects/Automatic_translation_software
[2]
mailto:[email protected]
[3]
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to