uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: HashMap as type feature
Date Wed, 16 Oct 2013 16:02:14 GMT

you could define a feature structure e.g.

StringStringMapEntry {
  String key
  String value

and store these in an FSList. Then, write additional convenience code around that
which transforms this to/from a Map<String, String>.

-- Richard

On 16.10.2013, at 17:55, Dr. Armin Wegner <arminwegner@googlemail.com> wrote:

> Hi,
> I'd like to have a type feature that is a list of key-value pairs. The
> number of pairs is unknown. What's best for this? Is it even possible?
> Thanks,
> Armin

View raw message