Open margaretha opened 9 months ago
Same with PQ+ and <s (class='header')>
.
The resulting koral query is currently
"query": {
"@type": "koral:span",
"attr": {
"@type": "koral:term",
"foundry": "base",
"key": "class",
"layer": "s",
"match": "match:eq",
"type": "type:regex",
"value": "header"
},
"wrap": {
"@type": "koral:term",
"attr": {
"@type": "koral:term",
"foundry": "base",
"key": "class",
"layer": "s",
"match": "match:eq",
"type": "type:regex",
"value": "header"
},
"foundry": "base",
"key": "s",
"layer": "s"
}
}
}
Krill seems to have a problem with regex in that place. Works with <s (class='header')>
.
CQP region e.g. sentence / element with regex attributes does not work.
Example query:
/region[<s (class="header")>]
Error message:
713, "SpanAttributeQuery only supports SpanTermQuery."