uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: FeaturePath vs. FeatureValuePath
Date Thu, 24 Sep 2015 21:44:00 GMT

I'm not familiar with this area.  I did some looking, and found the original
note which motivated this change

(Did a history on FeatureValuePath, found the UIMA-718 ref to deprecate the
"old" way, and it had this link).

This stuff probably hasn't been worked on since 2008-ish. 

Is there an actual use case for wanting feature arrays in the middle?

In v3, it might work to replace all this with Java 8 stream + lambdas :-) as a
more general, standardized approach.


On 9/23/2015 9:40 AM, Peter Kl├╝gl wrote:
> Hi,
> there are two interfaces and classes to access nested feature values
> FeaturePath(Impl) and FeatureValuePath(Impl). The later has been
> deprecated in favour of the former, but it looks like there is
> functionality getting lost in this transition. With FeatureValuePath it
> is possible to have feature arrays in the middle of the path whereas
> FeaturePath only allows these at the very end of the path.
> Is this initial investigation correct? What is the current status of
> this functionality?
> Best,
> Peter

View raw message