Return-Path: X-Original-To: apmail-incubator-ctakes-notifications-archive@minotaur.apache.org Delivered-To: apmail-incubator-ctakes-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B39EBE858 for ; Tue, 22 Jan 2013 16:18:14 +0000 (UTC) Received: (qmail 89631 invoked by uid 500); 22 Jan 2013 16:18:14 -0000 Delivered-To: apmail-incubator-ctakes-notifications-archive@incubator.apache.org Received: (qmail 89214 invoked by uid 500); 22 Jan 2013 16:18:14 -0000 Mailing-List: contact ctakes-notifications-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ctakes-dev@incubator.apache.org Delivered-To: mailing list ctakes-notifications@incubator.apache.org Received: (qmail 88832 invoked by uid 99); 22 Jan 2013 16:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2013 16:18:13 +0000 Date: Tue, 22 Jan 2013 16:18:13 +0000 (UTC) From: "Tim Miller (JIRA)" To: ctakes-notifications@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CTAKES-133) constituency-parser: escaped types confused for function tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tim Miller created CTAKES-133: --------------------------------- Summary: constituency-parser: escaped types confused for function tags Key: CTAKES-133 URL: https://issues.apache.org/jira/browse/CTAKES-133 Project: cTAKES Issue Type: Bug Components: ctakes-constituency-parser Reporter: Tim Miller Assignee: Tim Miller Priority: Minor There is code to separate constituent labels from function tags - e.g., NP-SBJ for a noun phrase (NP) that is a subject (SBJ). There are other tags that are special cases to escape things that screw up tree formatting -- a paren in the text "(" is rewritten as -LRB- to not be mistaken for a tree delimiter. But the code looking for the dash in a label-function tag will find the dash in the -LRB-. The fix is to check for a dash at the start of the label -- escaped tags will not have function elements. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira