You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Chris Mattmann <ma...@apache.org> on 2014/07/07 03:34:28 UTC

Review Request 23299: Add GoogleTranslate implementation of Translation API

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23299/
-----------------------------------------------------------

Review request for tika.


Bugs: tika-1362
    https://issues.apache.org/jira/browse/tika-1362


Repository: tika


Description
-------

This is an implementation of the Tika Translation API that connects to Google Translate and its v2 API:
https://www.googleapis.com/language/translate/v2

The implementation uses Apache CXF and the REST client and Jackson JSON parsing. You need to set your secret key if you'd like to test the API out, see src/main/resources/org/apache/tika/language/translate for the property files.


Diffs
-----

  ./trunk/tika-translate/pom.xml 1608286 
  ./trunk/tika-translate/src/main/java/org/apache/tika/language/translate/GoogleTranslator.java PRE-CREATION 
  ./trunk/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.google.properties PRE-CREATION 
  ./trunk/tika-translate/src/test/java/org/apache/tika/language/translate/GoogleTranslatorTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/23299/diff/


Testing
-------

Tested with my API key, works great. Also tests fail silently using the isAvailable API if the dummy API key is provided (by default).


Thanks,

Chris Mattmann


Re: Review Request 23299: Add GoogleTranslate implementation of Translation API

Posted by Tyler Palsulich <tp...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23299/#review47390
-----------------------------------------------------------

Ship it!


Ship It!

- Tyler Palsulich


On July 7, 2014, 1:34 a.m., Chris Mattmann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23299/
> -----------------------------------------------------------
> 
> (Updated July 7, 2014, 1:34 a.m.)
> 
> 
> Review request for tika.
> 
> 
> Bugs: tika-1362
>     https://issues.apache.org/jira/browse/tika-1362
> 
> 
> Repository: tika
> 
> 
> Description
> -------
> 
> This is an implementation of the Tika Translation API that connects to Google Translate and its v2 API:
> https://www.googleapis.com/language/translate/v2
> 
> The implementation uses Apache CXF and the REST client and Jackson JSON parsing. You need to set your secret key if you'd like to test the API out, see src/main/resources/org/apache/tika/language/translate for the property files.
> 
> 
> Diffs
> -----
> 
>   ./trunk/tika-translate/pom.xml 1608286 
>   ./trunk/tika-translate/src/main/java/org/apache/tika/language/translate/GoogleTranslator.java PRE-CREATION 
>   ./trunk/tika-translate/src/main/resources/org/apache/tika/language/translate/translator.google.properties PRE-CREATION 
>   ./trunk/tika-translate/src/test/java/org/apache/tika/language/translate/GoogleTranslatorTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/23299/diff/
> 
> 
> Testing
> -------
> 
> Tested with my API key, works great. Also tests fail silently using the isAvailable API if the dummy API key is provided (by default).
> 
> 
> Thanks,
> 
> Chris Mattmann
> 
>