----/----
Mapping Tag
A special type of tag, as defined by the mapping prefix. **If a
reading contains more than one mapping tag, the reading is multiplied
into several readings with one of the mapping tags each and all the
normal tags copied.**
----/----
ADD
[wordform] ADD <tags> <target> [contextual_tests] ;
Appends tags to matching readings. **Will not block for adding further
tags**, but can be blocked if a reading is considered mapped either
via rule type MAP or from input.
ADD (@func £other) TARGET (target) IF (-1 KC) ;
----/----
Why is the reading in the cohort being multiplied if I'm adding
mapping tags using ADD (as opposed to APPEND)?
I know I can change the mapping prefix, but just wonder if my
understanding of ADD is not correct.
Thanks!
--
Héctor
[1] http://beta.visl.sdu.dk/cg3/single/
[2] Marked here with **emphasis**.
Just for reference, found the solution in the archives:
https://groups.google.com/d/topic/constraint-grammar/tyrzF992kak/discussion
"Each reading can only have 1 mapping tag, but they are merged in
output for easier human viewing."
Best,
--
Héctor
The cohort gets only multiplied for processing's sake, internally (not
conceptually), because the internal disambiguation of the compiler works
on lines.
From the linguist's view, MAPped or ADDed tags are on the same line.
The internal multiplication will, however, be visible in --trace mode in
CG3.
-- Eckhard
> H�ctor
>
> [1] http://beta.visl.sdu.dk/cg3/single/
> [2] Marked here with **emphasis**.
>
--
Eckhard Bick,
cand.med., dr.phil.
University of Southern Denmark
e-mail: eckhar...@mail.dk
web: http://beta.visl.sdu.dk