cwrc / CWRC-WriterBase

The base class from which to create a CWRC-Writer XML editor.
GNU General Public License v2.0
14 stars 3 forks source link

Fix representation of NERVE-generated tags in the selection panel. #219

Open ilovan opened 4 years ago

ilovan commented 4 years ago

IN the selection panel while in NERVE mode, the NERVE candidates are showing as <placeName _candidate="true">Oslo</placeName>

The response from NERVE for the same candidate currently is <placeName key=\"Oslo\">Oslo<\/placeName> (resp="NERVE" will also be added once CWRC-Writer sends the context with each document - see the last test in the NERVE readme file)

The selection panel should show both key and resp attributes, as well as type and level when appropriate. Not sure where that _candidate comes from.

ilovan commented 4 years ago

confirmed on dev-cwrc-writer