tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vivek joshi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1227) Apache Tika 1.4 Duplicate extract data
Date Mon, 03 Feb 2014 11:20:08 GMT

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

vivek joshi commented on TIKA-1227:
-----------------------------------

Thanks Nick Burch,

I tried on command line and it is running well but if i try it from the Python script then
it gives duplicate text.

Please suggest.


> Apache Tika 1.4 Duplicate extract data
> --------------------------------------
>
>                 Key: TIKA-1227
>                 URL: https://issues.apache.org/jira/browse/TIKA-1227
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.4
>         Environment: Ubuntu12.04, Python 2.7, Apache Tika 1.4
>            Reporter: vivek joshi
>              Labels: python, tika,text-extraction, ubuntu
>         Attachments: tt1.doc
>
>
> When Extracting text using Apache Tika 1.4, the Text is getting duplicated.
> APACHE_TIKA_PATH = os.path.abspath(os.path.join(PROJECT_ROOT, apache_tika/tika-app-1.4.jar'))
> sout = subprocess.check_output("java -jar %s -t %s"%(APACHE_TIKA_PATH, document),shell=True)
> sout contains duplicate text.
> Issue both for Doc and PDF files.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message