Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 774AD200B21 for ; Fri, 10 Jun 2016 14:08:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 75E7D160A38; Fri, 10 Jun 2016 12:08:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E4B7D160A04 for ; Fri, 10 Jun 2016 14:08:33 +0200 (CEST) Received: (qmail 1663 invoked by uid 500); 10 Jun 2016 12:08:33 -0000 Mailing-List: contact dev-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 dev@ctakes.apache.org Received: (qmail 1652 invoked by uid 99); 10 Jun 2016 12:08:33 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 12:08:33 +0000 Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8B2BA1A015B for ; Fri, 10 Jun 2016 12:08:32 +0000 (UTC) Received: by mail-vk0-f54.google.com with SMTP id g67so94413201vkb.3 for ; Fri, 10 Jun 2016 05:08:32 -0700 (PDT) X-Gm-Message-State: ALyK8tKp1t5Djto3bmXXH7qY1oLhdH6GlE2okDLMfYndf7DuVVW4dymx9akFnWxz77ABdOpXMPyl4IjB0Ih8sQ== X-Received: by 10.159.33.175 with SMTP id 44mr671443uac.142.1465560511652; Fri, 10 Jun 2016 05:08:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.74.80 with HTTP; Fri, 10 Jun 2016 05:08:31 -0700 (PDT) In-Reply-To: <1465506837.7561.52.camel@childrens.harvard.edu> References: <1465506837.7561.52.camel@childrens.harvard.edu> From: Pei Chen Date: Fri, 10 Jun 2016 08:08:31 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: headword field in identifiedannotations To: "dev@ctakes.apache.org" Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 10 Jun 2016 12:08:34 -0000 I don't see any issues with adding the additional optional attribute... I think we already did the same for other items like relations for similar reasons. The only catch is probably that the dependency will need the dictionary lookup to be run first (assuming that the logic will be added to the DP to iterate through all NE's in the CAS) if they want to use that attribute. On Thu, Jun 9, 2016 at 5:13 PM, Miller, Timothy wrote: > How do people feel about modifying the typesystem? I'm finding that > grabbing the dependency headword is something very useful for feature > extraction. But it is a bottleneck if every feature extractor that uses > it has to recompute it. So I propose adding a field to the > IdentifiedAnnotation type of "headNode" with type ConllDependencyNode. > > Any thoughts or good reasons to avoid this? > > Thanks > Tim >