Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change 
notification.

The "TikaJAXRS" page has been changed by LewisJohnMcgibbney:
https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=39&rev2=40

  
  Some Example calls with cURL:
  
- == PUT a TXT file with English This is English! and get back en ==
+ === PUT a TXT file with English This is English! and get back en ===
  {{{
  $ curl -X PUT --data-binary @foo.txt http://localhost:9998/language/stream
  en
  }}}
- == PUT a TXT file with French comme çi comme ça and get back fr ==
+ === PUT a TXT file with French comme çi comme ça and get back fr ===
  {{{
  curl -X PUT --data-binary @foo.txt http://localhost:9998/language/stream
  fr
@@ -205, +205 @@

  
  Some Example calls with cURL:
  
- == PUT a string with English This is English! and get back en ==
+ === PUT a string with English This is English! and get back en ===
  {{{
  $ curl -X PUT --data "This is English!" http://localhost:9998/language/string
  en
  }}}
- == PUT a string with French comme çi comme ça and get back fr ==
+ === PUT a string with French comme çi comme ça and get back fr ===
  {{{
  curl -X PUT --data "comme çi comme ça" http://localhost:9998/language/string
  fr
@@ -227, +227 @@

  
  Some Example calls with cURL:
  
- == PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Lingo24 ==
+ === PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Lingo24 ===
  {{{
  $ curl -X PUT --data-binary @sentences 
http://localhost:9998/translate/all/org.apache.tika.language.translate.Lingo24Translator/es/en
  lack of practice in Spanish
  }}}
- == PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Microsoft ==
+ === PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Microsoft ===
  {{{
  $ curl -X PUT --data-binary @sentences 
http://localhost:9998/translate/all/org.apache.tika.language.translate.MicrosoftTranslator/es/en
  I need practice in Spanish
  }}}
- == PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Google ==
+ === PUT a TXT file named sentences with Spanish me falta práctica en Español 
and get back the English translation using Google ===
  {{{
  $ curl -X PUT --data-binary @sentences 
http://localhost:9998/translate/all/org.apache.tika.language.translate.GoogleTranslator/es/en
  I need practice in Spanish
@@ -251, +251 @@

  
  Note that: * *translator* should be a fully qualified Tika class name (with 
package) e.g., org.apache.tika.language.translate.Lingo24Translator * *dest* 
should be the 2 character short code for the dest language, e.g., 'es' for 
Spanish.
  
- == PUT a TXT file named sentences2 with French comme çi comme ça and get back 
the English translation using Google auto-detecting the language ==
+ === PUT a TXT file named sentences2 with French comme çi comme ça and get 
back the English translation using Google auto-detecting the language ===
  {{{
  $ curl -X PUT --data-binary @sentences2 
http://localhost:9998/translate/all/org.apache.tika.language.translate.GoogleTranslator/en
  so so

Reply via email to