Mark de Leon <[email protected]> čálii: > I am having trouble understanding what this is all about and not sure if it > will even do what I need to do. Here is my situation..... > > I have Virtual server that runs Ubuntu and hosts several small web sites . > One of thiose sites is a classified adas site. As We currently present the > site in English and Spanish, we want to be able to take an ad posted in > English and translate it to spaniosh. Then when the user reading an ad > posted in spanish but viewing the english page will see an equivalent of the > ad in English. > > When I stared this people were using Google for these translations but that > is now gone. > > My code (php) will extract ad Title and ad text that could be then translated. > > Do I need to run the ScaleMT to do this or can I do this with just the > normal Apertium packages?
That depends on the amount of traffic you expect and the amount of new ads you have to deal with, but I suspect you could do fine with just running the plain apertium program using system() as long as you *cache* the result somehow (so you don't have to translate the same ad twice), and you avoid running too many apertium processes in parallel. But if you do decide you want an API server, Apy is probably easier to set up: http://wiki.apertium.org/wiki/Apertium-apy/Ubuntu One reason you might want to install Apy is that it'll easily let you say "I want at most one apertium-en-es process running at any one time" – ensuring you don't run out of RAM in your VM. > I do not expect perfect translations but what kind of quality can I expect > from machine translations with en/es pairs? You should really just try it out on some of your existing ad texts. > Can I expect adequate performance from a Virtiual machine and what kind of > additional resources might I need? How much RAM do you have? > Does anyone have an example of how I would send a text string to the > translatyor message? Plain command line call, assuming your Spanish text is in the file input.txt: $ apertium es-en input.txt > output.txt Or if you've installed Apy and started it: $ curl --data-urlencode '[email protected]' 'http://localhost:2737/translate?langpair=spa|eng' >output.txt > Is there a lot of configuration in this package? > > Is there anyone here, or elsewhere, that can help with initial installation > and configuration? You can ask here or on IRC :-) -- Kevin Brubeck Unhammer GPG: 0x766AC60C
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
