Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05A86187BD for ; Mon, 27 Jul 2015 19:39:05 +0000 (UTC) Received: (qmail 26701 invoked by uid 500); 27 Jul 2015 19:39:04 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 26667 invoked by uid 500); 27 Jul 2015 19:39:04 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 26658 invoked by uid 99); 27 Jul 2015 19:39:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 19:39:04 +0000 Date: Mon, 27 Jul 2015 19:39:04 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CTAKES-373) MaxentParserWrapper can't handle section dividers: "==========" 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/CTAKES-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643262#comment-14643262 ] ASF subversion and git services commented on CTAKES-373: -------------------------------------------------------- Commit 1692933 from [~seanfinan] in branch 'ctakes/trunk' [ https://svn.apache.org/r1692933 ] CTAKES-373 If the sentence looks like it is a "divider", then skip it and do not add a node. Also cleaned up some code ... > MaxentParserWrapper can't handle section dividers: "==========" > --------------------------------------------------------------- > > Key: CTAKES-373 > URL: https://issues.apache.org/jira/browse/CTAKES-373 > Project: cTAKES > Issue Type: Improvement > Components: ctakes-constituency-parser > Affects Versions: 3.2.0, 3.1.1, 3.2.1, 3.2.2, 3.2.3 > Reporter: Sean Finan > Assignee: Sean Finan > Labels: performance > Fix For: 3.2.3 > > > Notes often contain section "dividers" of a single text character, such as: > "============================================" > When the Constituency Parser hits these [sentences], it can churn for 30 seconds (in my runs). For 60 notes containing two of these lines, that is a solid hour of useless processing. > There shouldn't be any downstream dependencies on such lines, so they shouldn't be parsed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)