From dev-return-28320-apmail-tika-dev-archive=tika.apache.org@tika.apache.org Sat May 26 19:08:03 2018 Return-Path: X-Original-To: apmail-tika-dev-archive@www.apache.org Delivered-To: apmail-tika-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 687E918D13 for ; Sat, 26 May 2018 19:08:02 +0000 (UTC) Received: (qmail 66017 invoked by uid 500); 26 May 2018 19:08:02 -0000 Delivered-To: apmail-tika-dev-archive@tika.apache.org Received: (qmail 65965 invoked by uid 500); 26 May 2018 19:08:01 -0000 Mailing-List: contact dev-help@tika.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tika.apache.org Delivered-To: mailing list dev@tika.apache.org Received: (qmail 65954 invoked by uid 99); 26 May 2018 19:08:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 May 2018 19:08:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 87D06CF60F for ; Sat, 26 May 2018 19:08:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VsT2OvPzDgoX for ; Sat, 26 May 2018 19:08:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C8E645F49F for ; Sat, 26 May 2018 19:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 55C42E0047 for ; Sat, 26 May 2018 19:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 148DE2108B for ; Sat, 26 May 2018 19:08:00 +0000 (UTC) Date: Sat, 26 May 2018 19:08:00 +0000 (UTC) From: "Chris A. Mattmann (JIRA)" To: dev@tika.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TIKA-2646) Tika parse["content"] returns jumbled text across cells of a table in a pdf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TIKA-2646?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16491= 792#comment-16491792 ]=20 Chris A. Mattmann commented on TIKA-2646: ----------------------------------------- [~adidier] see comment above from [~lfcnassif] > Tika parse["content"] returns jumbled text across cells of a table in a p= df > -------------------------------------------------------------------------= -- > > Key: TIKA-2646 > URL: https://issues.apache.org/jira/browse/TIKA-2646 > Project: Tika > Issue Type: Improvement > Components: parser > Affects Versions: 1.18 > Environment: MacOS Sierra 10.12.6 > Reporter: Annie Didier > Priority: Trivial > Labels: performance > > When text from a table is extracted, sometimes the order of the cells bec= omes mixed and the words get concatenated together. For example: > =C2=A0 > ||HOURS||DUR > (hr)||PHASE||CODE||SUB||DESCRIPTION|| > becomes: Hours Dur Code Sub DescriptionPhase > =C2=A0 > In other more serious cases, the text within a cell becomes scrambled wit= h a text from another cell. Such as: > ||HOURS||DUR > (hr)||PHASE||CODE||SUB|| > |00:00 - 17:00|17.00|FLOWBK|33 P - FLOWBACK /=20 > TESTING|E - RIG OUT > TESTERS| > the second row becomes: > 17.00-00:00 17:00 FLOWBK E - RIG OUT > =C2=A0 > TESTERS > =C2=A0 > 33 P - > =C2=A0 > FLOWBACK / > =C2=A0 > TESTING > Note that the value of the second column has moved to the first column, a= nd the "-" within the first column is misordered. The last two columns have= switched places. -- This message was sent by Atlassian JIRA (v7.6.3#76005)