Hint on using negation with annotations
Change-Id: I2d3c2dd0c7b2e4d6de05925c074e448234080f20
diff --git a/Changes b/Changes
index 7880933..eb8d139 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,4 @@
0.66 2026-08-03
- - Duplicate jsdom entry in package.json deleted (hebasta)
- Fix link to NEGRA corpus (diewald)
- Use M::P::Localize from CPAN (diewald)
- Update dependency to Mojolicious (diewald)
@@ -7,6 +6,9 @@
- Migration of util and datepicker to ES6 (hebasta)
- Introduced Markdown renderer for docs
(diewald; kupietz; with AI assistance, Claude Opus 4.6 and 5.0)
+ - Duplicate jsdom entry in package.json deleted (hebasta)
+ - Documentation: Hint on using negations with annotations
+ (diewald)
0.65 2026-04-21
- Expose colors and forms to plugins (diewald)
diff --git a/templates/de/doc/ql/poliqarp-plus.html.ep b/templates/de/doc/ql/poliqarp-plus.html.ep
index 859c4ef..c28ca50 100644
--- a/templates/de/doc/ql/poliqarp-plus.html.ep
+++ b/templates/de/doc/ql/poliqarp-plus.html.ep
@@ -123,6 +123,8 @@
<blockquote class="warning">
<p>Vorsicht: Negierte komplexe Segmente können nicht alleinstehend gesucht werden.
Allerdings funktionieren sie, wenn sie Teil einer <%= embedded_link_to 'doc', 'Sequenz', 'ql', 'poliqarp-plus#syntagmatic-operators-sequence'%> sind.</p>
+
+ <p>Bezieht sich die Negation auf eine Annotation und nicht auf die Oberflächenform eines Terms, kann es hilfreich sein, die Annotationsebene im virtuellen Korpus als Einschränkung anzugeben (Metadatenfeld <tt>foundries</tt>), damit nicht alle Vorkommen gefunden werden, die diese Annotationsebene gar nicht aufweisen.</p>
</blockquote>
<h4 id="empty-segments">Leere Segmente</h4>
diff --git a/templates/doc/ql/poliqarp-plus.html.ep b/templates/doc/ql/poliqarp-plus.html.ep
index d92cdfd..18eaabb 100644
--- a/templates/doc/ql/poliqarp-plus.html.ep
+++ b/templates/doc/ql/poliqarp-plus.html.ep
@@ -123,6 +123,8 @@
<blockquote class="warning">
<p>Beware: Negated complex segments can't be searched as a single statement.
However, they work in case they are part of a <%= embedded_link_to 'doc', 'sequence', 'ql', 'poliqarp-plus#syntagmatic-operators-sequence' %>.</p>
+
+ <p>If the negation refers to an annotation rather than to the surface form of a term, it may be advantageous to specify the annotation layer in the virtual corpus as a constraint (meta data field <tt>foundries</tt>) so that not all occurrences that do not have this annotation layer are found.</p>
</blockquote>
<h4 id="empty-segments">Empty Segments</h4>