uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burn Lewis <burnle...@gmail.com>
Subject Re: How to clone a FeatureStructure?
Date Thu, 13 Dec 2012 15:21:44 GMT
I don't quite understand your question.  What do you mean by cloning?  Are
you creating another array that references the same FSs or are you also
replicating each FS in the array?
What appears to be wrong?  Are you expecting a different parse tree when
the rules are different but instead getting identical trees?  If so, why do
you think that's a UIMA problem.

It may not be relevant, but my view is that CASes should be treated as
places to store public information that is to be shared amongst
annotators.  Any intermediate results computed by an annotator should not
be stored in the CAS ... basically because there is no delete method.
FeatureStructures can be removed from indexes but that does not delete
them.  The only form of garbage collection occurs when a CAS is serialized
to a file or to a remote service, as then only indexed FeatureStructures
are sent.


On Wed, Dec 12, 2012 at 5:33 PM, Administrator <
roman.alexandrovich.mueller@gmail.com> wrote:

> Dear uima user,
> here is what i am trying. One analysis engine receives an array of feature
> structures. It clones all feature structures of the array and produces a
> parse tree. The cloning and parsing happens several times but with
> different rules. However the result is always a parse forrest in witch all
> parse trees are the same (the last one). Creating new FeatureStructures
> with the new keyword has the same result. What can i do?
> Thanks in advance
> Roman

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message