Bug #2858

Word and Word Sequence Annotation, CQP reserved keywords

Added by Matthieu Decorde 2 months ago. Updated about 1 month ago.

Status:New Start date:06/15/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Annotation Spent time: -
Target version:TXM 0.8.2

Description

Properties using the CQP reserved keywords won't work in the CQL resolutions:

Concordance de <[source=".*"]> dans le corpus ESLOMDS20200422...
org.txm.searchengine.cqp.serverException.CqiClErrorInternal:

Solution

build the list of CQL reserved keywords : source, diff... (see TXM Manual).

Forbid users to create properties using names of the CQP reserved keywords and display a warning message:

** Impossible to use the "%s" name because it is a CQL reserved keyword (suggestion: use instead "%s-p", "p%s", "p-%s", "%s-t", "t%s", "t-%s", "%s-s", "s%s" or "s-%s" for example).

Related issues

related to Bug #2859: Structure name, Structure property name or Word property ... New 06/15/2020

History

#1 Updated by Serge Heiden about 1 month ago

  • Subject changed from Word Annotation, CQP reserved keywords to Word and Word Sequence Annotation, CQP reserved keywords
  • Description updated (diff)

Also available in: Atom PDF