[jira] [Comment Edited] (TIKA-2093) Add hOCR output type to the TesseractOCRParser

2016-09-29 Thread Eric Pugh (JIRA)

[ 
https://issues.apache.org/jira/browse/TIKA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534613#comment-15534613
 ] 

Eric Pugh edited comment on TIKA-2093 at 9/30/16 12:52 AM:
---

BTW, just got to updating my project with the latest 1.14-SNAPSHOT, and the 
hOCR process is working *great*.   Thanks for getting this patch in.

Not sure who marks things "Resolved", but from my perspective, it's Resolved.


was (Author: epugh):
BTW, just got to updating my project with the latest 1.14-SNAPSHOT, and the 
hOCR process is working *great*.   Thanks for getting this patch in.

> Add hOCR output type to the TesseractOCRParser
> --
>
> Key: TIKA-2093
> URL: https://issues.apache.org/jira/browse/TIKA-2093
> Project: Tika
>  Issue Type: Improvement
>  Components: ocr
>Affects Versions: 1.13
>Reporter: Eric Pugh
>Assignee: Tim Allison
>  Labels: easyfix, features, newbie
> Fix For: 1.14
>
>
> I've tweaked the TesseractOCRParser and TesseractOCRConfig to add the "txt" 
> or "hocr" parameters that allows you to get specific outputs.  There are also 
> "pdf" and in the next version of Tesseract a "tsv" outputs, but didn't add 
> support for those.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (TIKA-2093) Add hOCR output type to the TesseractOCRParser

2016-09-22 Thread Tim Allison (JIRA)

[ 
https://issues.apache.org/jira/browse/TIKA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515035#comment-15515035
 ] 

Tim Allison edited comment on TIKA-2093 at 9/23/16 1:26 AM:


[~epugh], I made a few modifications.  The biggest was parsing hocr and passing 
on the relevant elements to Tika's xhtml handler.  The rest was in great shape. 
 

Once I hear back that this will work for your use case with my mods, I'll 
resolve this ticket.

Thank you for the PR!


was (Author: talli...@mitre.org):
[~epugh], I made a few modifications.  The biggest was parsing hocr and passing 
on the relevant elements to Tika's xhtml handler.  The rest was in great shape. 
 

Once I hear back that this will work with my mods, I'll close this ticket.

Thank you for the PR!

> Add hOCR output type to the TesseractOCRParser
> --
>
> Key: TIKA-2093
> URL: https://issues.apache.org/jira/browse/TIKA-2093
> Project: Tika
>  Issue Type: Improvement
>  Components: ocr
>Affects Versions: 1.13
>Reporter: Eric Pugh
>Assignee: Tim Allison
>  Labels: easyfix, features, newbie
> Fix For: 1.14
>
>
> I've tweaked the TesseractOCRParser and TesseractOCRConfig to add the "txt" 
> or "hocr" parameters that allows you to get specific outputs.  There are also 
> "pdf" and in the next version of Tesseract a "tsv" outputs, but didn't add 
> support for those.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)