Hi Tomoki Fujita, I think you should try Moses server, please search in the document the section with name moses server and in trunk you can found in folder server.
On Sun, Feb 19, 2012 at 1:01 PM, <[email protected]> wrote: > Send Moses-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mit.edu/mailman/listinfo/moses-support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moses-support digest..." > > > Today's Topics: > > 1. Re: About Web Translation (Mirko Plitt) > 2. BerkeleyAligner AssertionError (Tom Hoar) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 18 Feb 2012 19:05:05 +0000 > From: Mirko Plitt <[email protected]> > Subject: Re: [Moses-support] About Web Translation > To: "'[email protected]'" <[email protected]>, > "'[email protected]'" <[email protected]> > Message-ID: > < > 564f619607be744ba874b93773e20c3c1712f...@005-tk5mpn1-002.mgdadsk.autodesk.com > > > > Content-Type: text/plain; charset="utf-8" > > Hi Tomoki, > > This page is for the translation of web pages, so you will have to enter a > URL (web address) into that field. > > Mirko > > > From: ?? ?? [mailto:[email protected]] > Sent: Friday, February 17, 2012 11:04 PM > To: [email protected] <[email protected]> > Subject: [Moses-support] About Web Translation > > Hi all > > I'm Tomoki Fujita > > I will conduct the web translation. > I built the server by my mac book air. > And, I conducted the process according to following site > http://www.statmt.org/moses/?n=Moses.WebTranslation > Then, following site is shown. > > [cid:[email protected]] > But, I entered "Hello", below error is outputted. > Software error: > > Couldn't fetch page: 500 Can't connect to Hello:80 (Bad hostname 'Hello') > at /Users/fujitatomoki/Sites/moses-web/translate.cgi line 220. > > > For help, please send mail to the webmaster ([email protected]<mailto: > [email protected]>), giving this error message and the time and date of the > error. > > Please help me. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20120218/b67e8bbd/attachment-0001.htm > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: screen.png > Type: image/png > Size: 11783 bytes > Desc: screen.png > Url : > http://mailman.mit.edu/mailman/private/moses-support/attachments/20120218/b67e8bbd/attachment-0001.png > > ------------------------------ > > Message: 2 > Date: Sun, 19 Feb 2012 13:01:06 +0700 > From: Tom Hoar <[email protected]> > Subject: [Moses-support] BerkeleyAligner AssertionError > To: Moses support <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > > > I posted this on GoogleCode Issues for BerkeleyAligner, but it's > pretty inactive. So, I thought I'd try here, too. > > I'm using the > unsupervised version 2.1 available from the repository to create word > alignments. This is a small 40,000 phrase pair corpus for testing and > development. The machine is a 6-core AMD Opteron and 16 GB RAM and 1TB > available hard drive space. Java/OS version as follows: > user@moses0:~$ > java -version > java version "1.6.0_20" > OpenJDK Runtime Environment > (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.3) > OpenJDK 64-Bit Server > VM (build 19.0-b09, mixed mode) > > I run the same command on the same > corpus multiple times. Most times, this command completes training > successfully. Sometimes it fails with an AssertionError in a different > location, normally in the first or second iteration of model 1. I list > the command line followed by the errors. I have also tried reducing > numThreads to 5, but it still throws an error. > > I suspect environment > problems more than corpus problems.Any suggestions? > > Thanks, > Tom > > /usr/bin/java -server > -Xms1024m > -Xmx2048m > -Xss768k > -ea > > -jar /usr/local/bin/berkeleyaligner.jar > -EMWordAligner.numThreads 6 > > -Data.trainSources /opt/library/BUILDS/tm/demo_tm/bitext.list > > -Data.foreignSuffix nl > -Data.englishSuffix en > -Data.testSources > > -exec.execDir > /opt/library/TRAININGS/alignments/align-demo_tm-en-nl/berk.classes > > -exec.create True > -Evaluator.writeGIZA True > -Main.SaveParams True > > -Main.alignTraining True > -Main.forwardModels MODEL1 HMM > > -Main.reverseModels MODEL1 HMM > -Main.iters 5 5 > -Main.mode JOINT > JOINT > > The Error: > > main() { > Execution directory: > /opt/library/TRAININGS/alignments/align-demo_tm-en-nl/berk.classes > > Preparing Training Data [2.3s, cum. 2.4s] > 41410 training, 0 test > > Training models: 2 stages { > Training stage 1: MODEL1 and MODEL1 jointly > for 5 iterations { > Initializing forward model [9.1s, cum. 9.1s] > > Initializing reverse model [7.9s, cum. 17s] > Joint Train: 41410 > sentences, jointly { > Iteration 1/5 { > Sentence 2/41410 > Sentence > 1/41410 > Sentence 5/41410 > Sentence 13/41410 > WARNING: Translation model > update concurrency error > Sentence 54/41410 > WARNING: Translation model > update concurrency error > Sentence 207/41410 > WARNING: Translation model > update concurrency error > WARNING: Translation model update concurrency > error > ERROR: > java.lang.AssertionError: > fig.basic.StringDoubleMap.find(StringDoubleMap.java:397) > fig.basic.StringDoubleMap.incr(StringDoubleMap.java:78) > fig.basic.String2DoubleMap.incr(String2DoubleMap.java:51) > > edu.berkeley.nlp.wordAlignment.SentencePairState.updateTransProbs(SentencePairState.java:79) > > edu.berkeley.nlp.wordAlignment.distortion.Model1or2SentencePairState.updateNewParams(Model1or2SentencePairState.java:91) > edu.berkeley.nlp.wordAlignment.EMWordAligner.run(EMWordAligner.java:231) > edu.berkeley.nlp.concurrent.WorkQueue.run(WorkQueue.java:70) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > java.lang.Thread.run(Thread.java:636) > 1 > errors, 4 warnings > ... 585 lines omitted ... > } > > Here's another error > for the same corpus: > > main() { > Execution directory: > /opt/library/TRAININGS/alignments/align-demo_tm-en-nl/berk.classes > > Preparing Training Data [2.3s, cum. 2.3s] > 41410 training, 0 test > > Training models: 2 stages { > Training stage 1: MODEL1 and MODEL1 jointly > for 5 iterations { > Initializing forward model [9.2s, cum. 9.2s] > > Initializing reverse model [8.0s, cum. 17s] > Joint Train: 41410 > sentences, jointly { > Iteration 1/5 { > Sentence 2/41410 > Sentence > 1/41410 > Sentence 4/41410 > Sentence 15/41410 > Sentence 67/41410 > > WARNING: Translation model update concurrency error > Sentence 279/41410 > > Sentence 911/41410 > WARNING: Translation model update concurrency error > > Sentence 2218/41410 > Sentence 3908/41410 > Sentence 5776/41410 > Sentence > 7744/41410 > Sentence 9737/41410 > Sentence 11746/41410 > Sentence > 13767/41410 > Sentence 15780/41410 > Sentence 17802/41410 > Sentence > 19841/41410 > Sentence 21912/41410 > Sentence 24000/41410 > Sentence > 26120/41410 > Sentence 28239/41410 > Sentence 30359/41410 > Sentence > 32490/41410 > Sentence 34634/41410 > Sentence 36776/41410 > Sentence > 38928/41410 > ... 40883 lines omitted ... > } [19s, cum. 19s] > Iteration > 2/5 { > Sentence 1/41410 > Sentence 5/41410 > Sentence 4/41410 > ERROR: > java.lang.AssertionError: > fig.basic.StringDoubleMap.put(StringDoubleMap.java:72) > fig.basic.StringDoubleMap.switchMapType(StringDoubleMap.java:309) > fig.basic.StringDoubleMap.find(StringDoubleMap.java:386) > fig.basic.StringDoubleMap.incr(StringDoubleMap.java:78) > fig.basic.String2DoubleMap.incr(String2DoubleMap.java:51) > > edu.berkeley.nlp.wordAlignment.SentencePairState.updateTransProbs(SentencePairState.java:79) > > edu.berkeley.nlp.wordAlignment.distortion.Model1or2SentencePairState.updateNewParams(Model1or2SentencePairState.java:91) > edu.berkeley.nlp.wordAlignment.EMWordAligner$1.run(EMWordAligner.java:232) > edu.berkeley.nlp.concurrent.WorkQueue$1.run(WorkQueue.java:70) > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > java.lang.Thread.run(Thread.java:636) > > ... 25 lines omitted ... > } > Sentence 28/41410 > Sentence 29/41410 > > Sentence 30/41410 > Sentence 31/41410 > Sentence 32/41410 > Sentence > 33/41410 > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20120219/07d0c353/attachment.htm > > ------------------------------ > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 64, Issue 32 > ********************************************* > -- Thu.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
