You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve UI descriptions for annotated text extraction and sorting
- Basic explanation now tries to educate the user more about what problem the feature solves
- Advanced help and tips were improved for more clarity
- Improved formatting to be in line with descriptions of other forms
<li> Syntax per Line: <code>{<CSS Selector>} <Comma-separated list of tags></code></li>
400
-
<li> Each element matched by the CSS selector will be tagged in the text with all listed tags <code><foo><bar>Matched Text</bar></foo></code></li>
401
-
<li> Matched elements without any text will not be tagged. </li>
402
-
<li> Tags will be matched after Include Filters were applied and elements were removed. </li>
403
-
<li> Only available for HTML (no Json or pdf). </li>
392
+
{{ render_field(form.annotation_rules, rows=4, placeholder='{#example} example
393
+
{tr[class*=\'news-article\']} article
394
+
{span.title} title
395
+
{span.age > a} date') }}
396
+
<spanclass="pure-form-message-inline">Annotations map HTML elements to XML tags in the extracted text, preserving semantics found in the original HTML source (like title, author, price, or dates) that allow more effective downstream processing.<br>
397
+
<spandata-target="#advanced-help-annotation-rules" class="toggle-show pure-button button-tag button-xsmall">Show advanced help and tips</span><br>
<li> Syntax per Line: <code>{<Element-to-Sort Selector>}({<Sort-Identifier Selector>})</code></li>
446
-
<li><strong>Element-to-Sort</strong> CSS or XPath Selector matching the annotated tag <strong>to be sorted</strong>. </li>
447
-
<li> Optional: <strong>Sort-Identifier</strong> CSS or XPath Selector relative to Element-to-Sort matching a child annotated tag <strong>containing the text to base the sorting on.</strong></li>
448
-
<li> Elements are sorted in ascending order. </li>
449
-
<li> XPath: Begin selector with forward-slashes or explicitly prefix with <code>xpath:</code>. </li>
<spanclass="pure-form-message-inline">Sorting annotated text allows reordering annotated XML elements, e.g. sorting a list of articles by title or date <code><article><title>Title</title><date>1970-01-01</date></article></code>.<br>
440
+
<spandata-target="#advanced-help-annotated-sort" class="toggle-show pure-button button-tag button-xsmall">Show advanced help and tips</span><br>
0 commit comments