Hi Eli,

It may not be included in tika-app since refactoring. In fact,
looking [1] it’s not.

Try including it in addition to tika-app and see if that fixes it.

If you think it should be in tika-app, please file a JIRA [2] 
request. I would think we would then probably want to include 
some CLI facilities to call it.

Another option is to check out tika-python [3] which lets you
call translation from the command line via python.

Cheers,
Chris

[1] https://github.com/apache/tika/blob/master/tika-app/pom.xml
[2] http://issues.apache.org/jira/browse/TIKA


[3] http://github.com/chrismattmann/tika-python/


On 8/7/16, 12:18 PM, "Eli Trucco" <[email protected]> wrote:

>Hi Chris,
>
>Isn't tika-translate already included in the tika-app jar though? So I'm 
>gonna need tika-translate jar in additional to tika-app? Sorry just want 
>to clarify :) Thanks.
>
>Regards,
>
>Eli Trucco
>
>On 07.08.2016 21:11, Chris Mattmann wrote:
>> Hi Eli,
>>
>> That’s because it uses service loading to accomplish this. Provided
>> you include tika-translate as a jar, and tika-core, you should have
>> all the translators.
>>
>> Cheers,
>> Chris
>>
>>
>>
>>
>>
>> On 8/7/16, 11:36 AM, "Eli Trucco" <[email protected]> wrote:
>>
>>> Hi guys,
>>>
>>> I wanted to use the Google Translator to translate some docs, but when I
>>> tried to import org.apache.tika.language.translate.GoogleTranslator, it
>>> says Class not found. I looked it up, this class exists in tika-src
>>> under tika-translate folder but doesn't seem to be compiled in the jar
>>> version. There are only 2 classes, DefaultTranslator and EmptyTranslator
>>> in the org.apache.tika.language.translate package. I'm using tika-app
>>> v1.13. Anyone can help me with this? thanks!
>>>
>>> Regards,
>>>
>>> Eli Trucco
>>>
>>
>

Reply via email to