ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Miller <timothy.mil...@childrens.harvard.edu>
Subject Re: srl bug with one word sentences
Date Wed, 29 May 2013 17:17:14 GMT
There weren't any objections, but I'm not convinced that the new type 
will be an improvement over the fix checked in, so I'm going to mark 
this issue resolved unless someone wants to raise an argument.

On 04/11/2013 09:25 PM, Chen, Pei wrote:
> My vote would be for 2) Create a DependencyTreeHead which would make it explicit similar
to ClearTK's org.cleartk.syntax.dependency.type.TopDependencyNode.
> Since there is already a temp fix, we can wait and see if there are any objections with
adding this type first?
> --Pei
> ________________________________________
> From: Tim Miller [timothy.miller@childrens.harvard.edu]
> Sent: Monday, April 08, 2013 3:54 PM
> To: dev@ctakes.apache.org
> Subject: srl bug with one word sentences
> I filed a jira (https://issues.apache.org/jira/browse/CTAKES-184) for an
> issue in the srl component of the dependency parser. Here is the issue:
> The SRL component grabs the Dependency Node for each token using the
> token span. When there is a one-word sentence there are two such nodes,
> the "head" node which spans the sentence and the token node. There is a
> quick fix checked in that looks at the "id" field, but it would be
> preferable to fix it upstream so that users of the Dependency types
> don't need to know about this issue.
> Here are a few possibilities, any other ideas?
> 1) Change the span of the head node, maybe to 0 length at the start of
> the sentence?
> 2) Create a separate type for DependencyTreeHead, perhaps spanless
> --
> Tim Miller, PhD
> Postdoctoral Research Fellow
> Children's Hospital Informatics Program
> Boston Children's Hospital and Harvard Medical School
> 617-919-1223

View raw message