dhowe / ritranslate Goto Github PK
View Code? Open in Web Editor NEWA translation API for RiTa
A translation API for RiTa
Pull, then open GoogleTranslate.java and read my comments at the top and in the translations() method. Then update the rest of the class based on the comments.
(for after ADN only)
dhowe@remote-server$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
Running GoogleTranslateTest
Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3.439 sec <<< FAILURE!
Results :
Failed tests: testTranslationsStringStringStringString(GoogleTranslateTest): arrays first differed at element [0]; expected:<suivre de pr[è]s> but was:<suivre de pr[?]s>
testTranslationsStringStringString(GoogleTranslateTest): arrays first differed at element [1]; expected:<m[â]le> but was:<m[?]le>
Tests run: 8, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.098s
[INFO] Finished at: Wed Jan 21 03:03:32 EST 2015
[INFO] Final Memory: 4M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project ritranslate: There are test failures.
[ERROR]
[ERROR] Please refer to /private/tmp/RiTranslate/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I just tried again this morning, and now it seems to block the request completely.
https://translate.google.com/translate_a/single?client=t&sl=en&tl=en&hl=en&dt=bd&dt=ex&dt=ld&dt=md&dt=qc&dt=rw&dt=rm&dt=ss&dt=t&dt=at&ie=UTF-8&oe=UTF-8&otf=2&ssel=0&tsel=0&tk=516155|367641&q=This%20is%20a%20test%20processing.app.SketchException:%20NullPointerException
Run travis build every 6 hours
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.