You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by chethan <ch...@gmail.com> on 2011/11/25 08:29:12 UTC
integrating tika into hadoop and tika with tesseract.
hi,
as i am new to tika, i want to know following things.
1. how to integrate tika within hadoop, so that tika will use map
reduce to implement the parsing.
2. we wanted tika to parse ocr files too...but as tika is not
supporting ocr parsing and also recommending to use tesseract, i want
to
know how to call tesseract ( command line operation ) through tika
( which in-turn uses map reduce to parse ocr files ).
thanks and regards
chethan
Re: integrating tika into hadoop and tika with tesseract.
Posted by chethan <ch...@gmail.com>.
should manually configure tika to reside on hadoop( like pig runs in tow
modes local and map reduce ) or by default will it work on hadoop with map
reduce jobs......?
On Mon, Nov 28, 2011 at 10:53 AM, Mark Kerzner <ma...@gmail.com>wrote:
> I used tesseract and lots of other Linux utilities on the cluster. You
> need to create your image with everything installed - which is possible
> even on EC2 and certainly on your hardware -- and then everything works
> beautifully.
>
> Mark
>
>
> On Sun, Nov 27, 2011 at 11:20 PM, chethan <ch...@gmail.com> wrote:
>
>> can anyone give me an example of how to bind external parser with tika.
>> as i couldn't find any of the blog or article which illustrates binding
>> external parser( tesseract ) along with tika.
>>
>> On Fri, Nov 25, 2011 at 10:50 PM, Julien Nioche <
>> lists.digitalpebble@gmail.com> wrote:
>>
>>> Behemoth [https://github.com/jnioche/behemoth] has a module for Tika
>>> which allows you to use it over Hadoop. Re-Tesseract : if you can call it
>>> on the command line then the external parser could help; not sure how this
>>> would work on Hadoop, possibly by installing Tesseract on all the slaves at
>>> the same location
>>>
>>> HTH
>>>
>>> Julien
>>>
>>>
>>> On 25 November 2011 07:29, chethan <ch...@gmail.com> wrote:
>>>
>>>> hi,
>>>>
>>>> as i am new to tika, i want to know following things.
>>>>
>>>> 1. how to integrate tika within hadoop, so that tika will use map
>>>> reduce to implement the parsing.
>>>> 2. we wanted tika to parse ocr files too...but as tika is not
>>>> supporting ocr parsing and also recommending to use tesseract, i want
>>>> to
>>>> know how to call tesseract ( command line operation ) through tika
>>>> ( which in-turn uses map reduce to parse ocr files ).
>>>>
>>>> thanks and regards
>>>> chethan
>>>>
>>>
>>>
>>>
>>> --
>>> *
>>> *Open Source Solutions for Text Engineering
>>>
>>> http://digitalpebble.blogspot.com/
>>> http://www.digitalpebble.com
>>>
>>
>>
>
Re: integrating tika into hadoop and tika with tesseract.
Posted by Mark Kerzner <ma...@gmail.com>.
I used tesseract and lots of other Linux utilities on the cluster. You need
to create your image with everything installed - which is possible even on
EC2 and certainly on your hardware -- and then everything works beautifully.
Mark
On Sun, Nov 27, 2011 at 11:20 PM, chethan <ch...@gmail.com> wrote:
> can anyone give me an example of how to bind external parser with tika. as
> i couldn't find any of the blog or article which illustrates binding
> external parser( tesseract ) along with tika.
>
> On Fri, Nov 25, 2011 at 10:50 PM, Julien Nioche <
> lists.digitalpebble@gmail.com> wrote:
>
>> Behemoth [https://github.com/jnioche/behemoth] has a module for Tika
>> which allows you to use it over Hadoop. Re-Tesseract : if you can call it
>> on the command line then the external parser could help; not sure how this
>> would work on Hadoop, possibly by installing Tesseract on all the slaves at
>> the same location
>>
>> HTH
>>
>> Julien
>>
>>
>> On 25 November 2011 07:29, chethan <ch...@gmail.com> wrote:
>>
>>> hi,
>>>
>>> as i am new to tika, i want to know following things.
>>>
>>> 1. how to integrate tika within hadoop, so that tika will use map
>>> reduce to implement the parsing.
>>> 2. we wanted tika to parse ocr files too...but as tika is not
>>> supporting ocr parsing and also recommending to use tesseract, i want
>>> to
>>> know how to call tesseract ( command line operation ) through tika
>>> ( which in-turn uses map reduce to parse ocr files ).
>>>
>>> thanks and regards
>>> chethan
>>>
>>
>>
>>
>> --
>> *
>> *Open Source Solutions for Text Engineering
>>
>> http://digitalpebble.blogspot.com/
>> http://www.digitalpebble.com
>>
>
>
Re: integrating tika into hadoop and tika with tesseract.
Posted by chethan <ch...@gmail.com>.
can anyone give me an example of how to bind external parser with tika. as
i couldn't find any of the blog or article which illustrates binding
external parser( tesseract ) along with tika.
On Fri, Nov 25, 2011 at 10:50 PM, Julien Nioche <
lists.digitalpebble@gmail.com> wrote:
> Behemoth [https://github.com/jnioche/behemoth] has a module for Tika
> which allows you to use it over Hadoop. Re-Tesseract : if you can call it
> on the command line then the external parser could help; not sure how this
> would work on Hadoop, possibly by installing Tesseract on all the slaves at
> the same location
>
> HTH
>
> Julien
>
>
> On 25 November 2011 07:29, chethan <ch...@gmail.com> wrote:
>
>> hi,
>>
>> as i am new to tika, i want to know following things.
>>
>> 1. how to integrate tika within hadoop, so that tika will use map
>> reduce to implement the parsing.
>> 2. we wanted tika to parse ocr files too...but as tika is not
>> supporting ocr parsing and also recommending to use tesseract, i want
>> to
>> know how to call tesseract ( command line operation ) through tika
>> ( which in-turn uses map reduce to parse ocr files ).
>>
>> thanks and regards
>> chethan
>>
>
>
>
> --
> *
> *Open Source Solutions for Text Engineering
>
> http://digitalpebble.blogspot.com/
> http://www.digitalpebble.com
>
Re: integrating tika into hadoop and tika with tesseract.
Posted by Julien Nioche <li...@gmail.com>.
Behemoth [https://github.com/jnioche/behemoth] has a module for Tika which
allows you to use it over Hadoop. Re-Tesseract : if you can call it on the
command line then the external parser could help; not sure how this would
work on Hadoop, possibly by installing Tesseract on all the slaves at the
same location
HTH
Julien
On 25 November 2011 07:29, chethan <ch...@gmail.com> wrote:
> hi,
>
> as i am new to tika, i want to know following things.
>
> 1. how to integrate tika within hadoop, so that tika will use map
> reduce to implement the parsing.
> 2. we wanted tika to parse ocr files too...but as tika is not
> supporting ocr parsing and also recommending to use tesseract, i want
> to
> know how to call tesseract ( command line operation ) through tika
> ( which in-turn uses map reduce to parse ocr files ).
>
> thanks and regards
> chethan
>
--
*
*Open Source Solutions for Text Engineering
http://digitalpebble.blogspot.com/
http://www.digitalpebble.com
Re: integrating tika into hadoop and tika with tesseract.
Posted by Nick Burch <ni...@alfresco.com>.
On Fri, 25 Nov 2011, chethan wrote:
> as i am new to tika, i want to know following things.
I think most of your questions are hadoop ones, so you may have more luck
learning more about hadoop and then asking your queries on the hadoop user
list
> 1. how to integrate tika within hadoop, so that tika will use map
> reduce to implement the parsing.
Probably something like have hadoop treat each file as a map input, and
then have the mapper step pass that through Tika. You're then using Hadoop
as a way to manage running tika once against each file
> 2. we wanted tika to parse ocr files too...but as tika is not supporting
> ocr parsing and also recommending to use tesseract, i want to
> know how to call tesseract ( command line operation ) through tika
> ( which in-turn uses map reduce to parse ocr files ).
You might be better off just running tesseract directly on each file from
the mapper, rather than trying to send it via Tika. The external parser
support in Tika should help you if you did want to wrap it in Tika,
otherwise hadoop has support for calling external programs
Nick