From dev-return-30336-apmail-tika-dev-archive=tika.apache.org@tika.apache.org Thu Feb 28 19:32:04 2019 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 2776818054 for ; Thu, 28 Feb 2019 19:32:04 +0000 (UTC) Received: (qmail 99417 invoked by uid 500); 28 Feb 2019 19:32:04 -0000 Delivered-To: apmail-tika-dev-archive@tika.apache.org Received: (qmail 99365 invoked by uid 500); 28 Feb 2019 19:32:03 -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 99194 invoked by uid 99); 28 Feb 2019 19:32:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2019 19:32:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 83D6DC2AED for ; Thu, 28 Feb 2019 19:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id l0zt0IC6QASQ for ; Thu, 28 Feb 2019 19:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 94C2B5FDBA for ; Thu, 28 Feb 2019 19:32:01 +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 AAB59E1BBB for ; Thu, 28 Feb 2019 19:32: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 414822456B for ; Thu, 28 Feb 2019 19:32:00 +0000 (UTC) Date: Thu, 28 Feb 2019 19:32:00 +0000 (UTC) From: "Tim Allison (JIRA)" To: dev@tika.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TIKA-2833) Add a CSV/TSV detector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TIKA-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780851#comment-16780851 ] Tim Allison commented on TIKA-2833: ----------------------------------- This newer reports on csvs alone look decent. There are some files that now cause parse exceptions because they have malformed encapsulation. The most common: {noformat} "the","quick"brown"fox","jumped" {noformat} {noformat} "the","quick"," "brown fox","jumped" {noformat} > Add a CSV/TSV detector > ---------------------- > > Key: TIKA-2833 > URL: https://issues.apache.org/jira/browse/TIKA-2833 > Project: Tika > Issue Type: Task > Reporter: Tim Allison > Priority: Minor > Attachments: csv_reports.zip > > > Given initial experimentation, I think we can fairly easily add a fairly robust CSV/TSV detector that will identify well-formed (ha!) csvs and return the charset encoding and the delimiter. -- This message was sent by Atlassian JIRA (v7.6.3#76005)