You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2014/02/03 12:10:09 UTC
[jira] [Commented] (TIKA-1227) Apache Tika 1.4 Duplicate extract
data
[ https://issues.apache.org/jira/browse/TIKA-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889387#comment-13889387 ]
Nick Burch commented on TIKA-1227:
----------------------------------
I've just tried running tika-app directly on the command line, against your file, and I don't see any duplication of DEFINITIONS
$ java -jar tika-app-1.5-SNAPSHOT.jar --text /tmp/tt1.doc | grep DEFIN
DEFINITIONS
$
I can only suggest you try running the Tika app manually from the commandline yourself, to check the issue, then investigate your python code when you're happy with Tika itself
> 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)