Martin Toepfer created UIMA-4055:
------------------------------------
Summary: Ruta: MultiTreeWordList with Feature-based Output
Key: UIMA-4055
URL: https://issues.apache.org/jira/browse/UIMA-4055
Project: UIMA
Issue Type: New Feature
Components: ruta
Affects Versions: 2.2.1ruta
Reporter: Martin Toepfer
Assignee: Peter Klügl
Sometimes I need a feature-based output of multi-tree wordlists instead of a
type-based output.
For instance, at present it is possible to specify different types for matches
against different dictionaries like
{code}
Document {->TRIE(
"dict.L0" = L0,
"dict.L10" = L10,
wl, true, 0, false, 0, " .-/")};
{code}
which creates annotations of type L0, L10 for matches according to dictionaries
dict.L0, dict.L10.
Additionally, it should be possible to specify (types and their) features for
the output like, e.g.,
{code}
Document {->TRIE(
"dict.L0" = {Terminology_A, id, "0"},
"dict.L10" = {Terminology_B, code, "10"},
wl, true, 0, false, 0, " .-/")};
{code}
which should create annotations of type Terminology_A/B and set their feature
id/code to the value "0"/"10" for matches according to dictionary
"dict.L0"/"dict.L10", respectively.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)