Querybuilder 1.0
BIN
app/static/images/manual/query_builder/delete.gif
Normal file
After Width: | Height: | Size: 222 KiB |
BIN
app/static/images/manual/query_builder/drag_and_drop.gif
Normal file
After Width: | Height: | Size: 378 KiB |
BIN
app/static/images/manual/query_builder/entity.gif
Normal file
After Width: | Height: | Size: 854 KiB |
BIN
app/static/images/manual/query_builder/meta_data.gif
Normal file
After Width: | Height: | Size: 930 KiB |
BIN
app/static/images/manual/query_builder/option_group.gif
Normal file
After Width: | Height: | Size: 511 KiB |
BIN
app/static/images/manual/query_builder/or_and.gif
Normal file
After Width: | Height: | Size: 1009 KiB |
BIN
app/static/images/manual/query_builder/pos.gif
Normal file
After Width: | Height: | Size: 903 KiB |
BIN
app/static/images/manual/query_builder/word_lemma.gif
Normal file
After Width: | Height: | Size: 413 KiB |
@ -64,8 +64,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col s12 m3 l3 right-align">
|
<div class="col s12 m3 l3 right-align">
|
||||||
<p class="hide-on-small-only"> </p>
|
<p class="hide-on-small-only"> </p>
|
||||||
<a class="btn disabled tooltipped waves-effect waves-light" data-tooltip="Comming soon..."><i class="material-icons left">build</i> Query builder</a>
|
<a class="btn waves-effect waves-light modal-trigger" href="#concordance-query-builder" id="concordance-query-builder-button">
|
||||||
<button class="btn waves-effect waves-light corpus-analysis-action" id="concordance-extension-form-submit" type="submit" name="submit">Send <i class="material-icons right">send</i></button>
|
<i class="material-icons left">build</i>
|
||||||
|
Query builder
|
||||||
|
</a>
|
||||||
|
<button class="btn waves-effect waves-light corpus-analysis-action" id="concordance-extension-form-submit" type="submit" name="submit">
|
||||||
|
Send
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "materialize/wtf.html.j2" as wtf %}
|
||||||
|
<style>
|
||||||
|
a {color: #FFFFFF;}
|
||||||
|
</style>
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis" id="corpus-analysis-app-container"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis" id="corpus-analysis-app-container"{% endblock main_attribs %}
|
||||||
|
|
||||||
@ -245,6 +248,329 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="modal" id="concordance-query-builder" style="width:70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<nav style="background-color:#AA9CC9; margin-top:-25px; margin-left:-25px; width:105%;">
|
||||||
|
<div class="nav-wrapper" style="padding-left:15px">
|
||||||
|
<a href="#!" class="brand-logo"><i class="material-icons">build</i>Query Builder</a>
|
||||||
|
<i class="material-icons close right" style="margin-right: 50px; cursor:pointer;" id="close-query-builder">close</i>
|
||||||
|
<i class="material-icons help right" style="cursor:pointer;">help</i>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
<div id="query-container" class="hide">
|
||||||
|
<div class="row">
|
||||||
|
<h6 class="col s7">Your Query:</h6>
|
||||||
|
</div>
|
||||||
|
<div id="button-preparer"></div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s10" id="your-query" style="border-bottom-style: solid; border-bottom-width:1px;"></div>
|
||||||
|
<a class="btn-small waves-effect waves-teal col s1" id="insert-query-button" style="background-color:#00426f; text-align:center">
|
||||||
|
<i class="material-icons">send</i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p><i> Preview:</i></p>
|
||||||
|
<p id="query-preview"></p>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<h6>Use the following options to build your query:</h6>
|
||||||
|
<p></p>
|
||||||
|
<a class="btn-large waves-effect waves-light tooltipped" id="positional-attr-button" data-position="bottom" data-tooltip="Search for any token, for example a word, a lemma or a part-of-speech tag">Add new token to your query</a>
|
||||||
|
<a class="btn-large waves-effect waves-light tooltipped" id="structural-attr-button" data-position="bottom" data-tooltip="Structure your query with structural attributes, for example sentences, entities or annotate the text">Add structural attributes to your query</a>
|
||||||
|
|
||||||
|
<div id="structural-attr" class="hide">
|
||||||
|
<p></p>
|
||||||
|
<h6 style="margin-left:15px;">Which structural attribute do you want to add to your query?</h6>
|
||||||
|
<p></p>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col s12">
|
||||||
|
<a class="btn-small waves-effect waves-light" id="sentence" style="background-color:#FD9720">sentence</a>
|
||||||
|
<a class="btn-small waves-effect waves-light" id="entity" style="background-color:#A6E22D">entity</a>
|
||||||
|
<a class="btn-small waves-effect waves-light" id="text-annotation" style="background-color:#2FBBAB">Meta Data</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="entity-builder" class="hide">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<div class="row">
|
||||||
|
<a class="btn waves-effect waves-light col s4" id="empty-entity">Add Entity of any type</a>
|
||||||
|
<p class="col s1 l1"></p>
|
||||||
|
<div class= "input-field col s3">
|
||||||
|
<select name="englishenttype" id="english-ent-type">
|
||||||
|
<option value="" disabled selected>English ent_type</option>
|
||||||
|
<option value="CARDINAL">CARDINAL</option>
|
||||||
|
<option value="DATE">DATE</option>
|
||||||
|
<option value="EVENT">EVENT</option>
|
||||||
|
<option value="FAC">FAC</option>
|
||||||
|
<option value="GPE">GPE</option>
|
||||||
|
<option value="LANGUAGE">LANGUAGE</option>
|
||||||
|
<option value="LAW">LAW</option>
|
||||||
|
<option value="LOC">LOC</option>
|
||||||
|
<option value="MONEY">MONEY</option>
|
||||||
|
<option value="NORP">NORP</option>
|
||||||
|
<option value="ORDINAL">ORDINAL</option>
|
||||||
|
<option value="ORG">ORG</option>
|
||||||
|
<option value="PERCENT">PERCENT</option>
|
||||||
|
<option value="PERSON">PERSON</option>
|
||||||
|
<option value="PRODUCT">PRODUCT</option>
|
||||||
|
<option value="QUANTITY">QUANTITY</option>
|
||||||
|
<option value="TIME">TIME</option>
|
||||||
|
<option value="WORK_OF_ART">WORK_OF_ART</option>
|
||||||
|
</select>
|
||||||
|
<label>Entity Type</label>
|
||||||
|
</div>
|
||||||
|
<div class= "input-field col s3">
|
||||||
|
<select name="germanenttype" id="german-ent-type">
|
||||||
|
<option value="" disabled selected>German ent_type</option>
|
||||||
|
<option value="LOC">LOC</option>
|
||||||
|
<option value="MISC">MISC</option>
|
||||||
|
<option value="ORG">ORG</option>
|
||||||
|
<option value="PER">PER</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="text-annotation-builder" class="hide">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<div class="row">
|
||||||
|
<div class= "input-field col s4 l3">
|
||||||
|
<select name="text-annotation-options" id="text-annotation-options">
|
||||||
|
<option class="btn-small waves-effect waves-light" value="address">address</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="author">author</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="booktitle">booktitle</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="chapter">chapter</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="editor">editor</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="institution">institution</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="journal">journal</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="pages">pages</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="publisher">publisher</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="publishing_year">publishing year</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="school">school</option>
|
||||||
|
<option class="btn-small waves-effect waves-light" value="title">title</option>
|
||||||
|
</select>
|
||||||
|
<label>Meta data</label>
|
||||||
|
</div>
|
||||||
|
<div class= "input-field col s7 l5">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="Type in your text annotation" type="text" id="text-annotation-input">
|
||||||
|
</div>
|
||||||
|
<div class="col s1 l1 center-align">
|
||||||
|
<p class="btn-floating waves-effect waves-light" id="text-annotation-submit">
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="positional-attr" class="hide">
|
||||||
|
<p></p>
|
||||||
|
<div class="row" style="background-color:#f2eff7; padding:15px; border-top-style: solid; border-color:#6B3F89">
|
||||||
|
<div class="col s5" style="margin-top:15px;">
|
||||||
|
<h6 style="margin-left:15px;">Which kind of token are you looking for?</h6>
|
||||||
|
</div>
|
||||||
|
<div class="input-field col s3">
|
||||||
|
<select id="token-attr">
|
||||||
|
<option value="word" selected>word</option>
|
||||||
|
<option value="lemma">lemma</option>
|
||||||
|
<option value="english-pos">english pos</option>
|
||||||
|
<option value="german-pos">german pos</option>
|
||||||
|
<option value="simple-pos-button">simple_pos</option>
|
||||||
|
<option value="empty-token">empty token</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p></p>
|
||||||
|
<div id="token-builder-content">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row" >
|
||||||
|
<div id="token-query"></div>
|
||||||
|
|
||||||
|
<div id="word-builder">
|
||||||
|
<div class= "input-field col s3 l4">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="Type in your word" type="text" id="word-input">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="lemma-builder" class="hide" >
|
||||||
|
<div class= "input-field col s3 l4">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="Type in your lemma" type="text" id="lemma-input">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="english-pos-builder" class="hide">
|
||||||
|
<div class="col s6 m4 l4">
|
||||||
|
<div class="row">
|
||||||
|
<div class= "input-field col s12">
|
||||||
|
<select name="englishpos" id="english-pos">
|
||||||
|
<option value="default" disabled selected>English pos tagset</option>
|
||||||
|
<option value="ADD">email</option>
|
||||||
|
<option value="AFX">affix</option>
|
||||||
|
<option value="CC">conjunction, coordinating</option>
|
||||||
|
<option value="CD">cardinal number</option>
|
||||||
|
<option value="DT">determiner</option>
|
||||||
|
<option value="EX">existential there</option>
|
||||||
|
<option value="FW">foreign word</option>
|
||||||
|
<option value="HYPH">punctuation mark, hyphen</option>
|
||||||
|
<option value="IN">conjunction, subordinating or preposition</option>
|
||||||
|
<option value="JJ">adjective</option>
|
||||||
|
<option value="JJR">adjective, comparative</option>
|
||||||
|
<option value="JJS">adjective, superlative</option>
|
||||||
|
</select>
|
||||||
|
<label>Part-of-speech tags</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="german-pos-builder" class="hide">
|
||||||
|
<div class="col s6 m4 l4">
|
||||||
|
<div class="row">
|
||||||
|
<div class= "input-field col s12">
|
||||||
|
<select name="germanpos" id="german-pos">
|
||||||
|
<option value="default" disabled selected>German pos tagset</option>
|
||||||
|
<option value="ADJA">adjective, attributive</option>
|
||||||
|
<option value="ADJD">adjective, adverbial or predicative</option>
|
||||||
|
<option value="ADV">adverb</option>
|
||||||
|
<option value="APPO">postposition</option>
|
||||||
|
<option value="APPR">preposition; circumposition left</option>
|
||||||
|
<option value="APPRART">preposition with article</option>
|
||||||
|
<option value="APZR">circumposition right</option>
|
||||||
|
<option value="ART">definite or indefinite article</option>
|
||||||
|
</select>
|
||||||
|
<label>Part-of-speech tags</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="simplepos-builder" class="hide">
|
||||||
|
<div class="col s6 m4 l4">
|
||||||
|
<div class="row">
|
||||||
|
<div class= "input-field col s12">
|
||||||
|
<select name="simplepos" id="simple-pos">
|
||||||
|
<option value="default" disabled selected>simple_pos tagset</option>
|
||||||
|
<option value="ADJ">adjective</option>
|
||||||
|
<option value="ADP">adposition</option>
|
||||||
|
<option value="ADV">adverb</option>
|
||||||
|
<option value="AUX">auxiliary verb</option>
|
||||||
|
<option value="CONJ">coordinating conjunction</option>
|
||||||
|
<option value="DET">determiner</option>
|
||||||
|
<option value="INTJ">interjection</option>
|
||||||
|
<option value="NOUN">noun</option>
|
||||||
|
<option value="NUM">numeral</option>
|
||||||
|
<option value="PART">particle</option>
|
||||||
|
<option value="PRON">pronoun</option>
|
||||||
|
<option value="PROPN">proper noun</option>
|
||||||
|
<option value="PUNCT">punctuation</option>
|
||||||
|
<option value="SCONJ">subordinating conjunction</option>
|
||||||
|
<option value="SYM">symbol</option>
|
||||||
|
<option value="VERB">verb</option>
|
||||||
|
<option value="X">other</option>
|
||||||
|
</select>
|
||||||
|
<label>Simple part-of-speech tags</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col s1 l1 center-align">
|
||||||
|
<p class="btn-floating waves-effect waves-light" id="token-submit">
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="token-edit-options">
|
||||||
|
<div class="row">
|
||||||
|
<h6 style="margin-left:15px;">Options to edit your token:</h6>
|
||||||
|
</div>
|
||||||
|
<p></p>
|
||||||
|
<div class="row">
|
||||||
|
<div id="input-options" class="col s5 m5 l5 xl4">
|
||||||
|
<a id="wildcard-char" class="btn-small tooltipped waves-effect waves-light" data-position="top" data-tooltip="Look for a variable character (also called wildcard character)">Wildcard character</a>
|
||||||
|
<a id="option-group" class="btn-small tooltipped waves-effect waves-light" data-position="top" data-tooltip="Find character sequences from a list of options">Option Group</a>
|
||||||
|
</div>
|
||||||
|
<div class="col s3 m3 l3 xl3" id="incidence-modifiers-button">
|
||||||
|
<a class="dropdown-trigger btn-small tooltipped waves-effect waves-light" href="#" data-target="incidence-modifiers" style="background-color:#2fbbab" data-position="top" data-tooltip="Incidence Modifiers are special characters or patterns, <br>which determine how often a character represented previously should occur.">incidence modifiers</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul id="incidence-modifiers" class="dropdown-content">
|
||||||
|
<li><a id="one-or-more" data-token="+" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">one or more (+)</a></li>
|
||||||
|
<li><a id="zero-or-more" data-token="*" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">zero or more (*)</a></li>
|
||||||
|
<li><a id="zero-or-one" data-token="?" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">zero or one (?)</a></li>
|
||||||
|
<li><a id="exactly-n" class="modal-trigger" href="#exactlyN" data-token="{n}" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">exactly n ({n})</a></li>
|
||||||
|
<li><a id="between-n-m" class="modal-trigger" href="#betweenNM" data-token="{n,m}" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">between n and m ({n,m})</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div id="ignore-case-checkbox" class="col s2 m2 l2 xl2">
|
||||||
|
<p id="ignore-case" style="margin-top:5px;">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" class="filled-in" />
|
||||||
|
<span>Ignore Case</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col s2 m2 l2 xl2" id="condition-container">
|
||||||
|
<a class="btn-small tooltipped waves-effect waves-light" id="or" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>At least one must be fulfilled">or</a>
|
||||||
|
<a class="btn-small tooltipped waves-effect waves-light" id="and" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>Both must be fulfilled">and</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id ="exactlyN" class="modal">
|
||||||
|
<div class="row modal-content">
|
||||||
|
<div class= "input-field col s10">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="type in a number for 'n'" type="text" id="n-input">
|
||||||
|
</div>
|
||||||
|
<div class="col s2">
|
||||||
|
<p class="btn-floating waves-effect waves-light" id="n-submit">
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id ="betweenNM" class="modal" style="width:60%;">
|
||||||
|
<div class="row modal-content">
|
||||||
|
<div class= "input-field col s5">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="number for 'n'" type="text" id="n-m-input">
|
||||||
|
</div>
|
||||||
|
<div class= "input-field col s5">
|
||||||
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
|
<input placeholder="number for 'm'" type="text" id="m-input">
|
||||||
|
</div>
|
||||||
|
<div class="col s2">
|
||||||
|
<p class="btn-floating waves-effect waves-light" id="n-m-submit">
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock modals %}
|
{% endblock modals %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
@ -253,6 +579,7 @@
|
|||||||
const corpusAnalysisApp = new CorpusAnalysisApp({{ corpus.hashid|tojson }});
|
const corpusAnalysisApp = new CorpusAnalysisApp({{ corpus.hashid|tojson }});
|
||||||
const corpusAnalysisConcordance = new CorpusAnalysisConcordance(corpusAnalysisApp);
|
const corpusAnalysisConcordance = new CorpusAnalysisConcordance(corpusAnalysisApp);
|
||||||
const corpusAnalysisReader = new CorpusAnalysisReader(corpusAnalysisApp);
|
const corpusAnalysisReader = new CorpusAnalysisReader(corpusAnalysisApp);
|
||||||
|
const concordanceQueryBuilder = new ConcordanceQueryBuilder()
|
||||||
|
|
||||||
corpusAnalysisApp.init();
|
corpusAnalysisApp.init();
|
||||||
</script>
|
</script>
|
||||||
|
169
app/templates/main/manual/_09_query_builder.html.j2
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
<h2>Query Builder Tutorial</h2>
|
||||||
|
|
||||||
|
<p>The query builder helps you to make a query in the form of the Corpus Query
|
||||||
|
Language (CQL) to your text. You can use the CQL to filter out various types of
|
||||||
|
text parameters, for example, a specific word, a lemma, or you can set part-of-speech
|
||||||
|
tags (pos) that indicate the type of word you are looking for (a noun, an
|
||||||
|
adjective, etc.). In addition, you can also search for structural attributes,
|
||||||
|
or specify your query for a token (word, lemma, pos) via entity typing. And of
|
||||||
|
course everything can be combined. You can find examples for different queries
|
||||||
|
under the tab "Examples".</p>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<div style="border: 1px solid; padding-left: 20px; margin-right: 400px; margin-bottom: 40px;">
|
||||||
|
<h5>Content</h5>
|
||||||
|
<ol style="list-style-type:disc">
|
||||||
|
<li><a href="#add-new-token-tutorial">Add new token to your query</a></li>
|
||||||
|
<li><a href="#edit-options-tutorial">Options to edit your query</a></li>
|
||||||
|
<li><a href="#add-structural-attribute-tutorial">Add structural Attributes to your query</a></li>
|
||||||
|
<li><a href="#general-options-query-builder">General options</a></li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{# Add Token Tutorial #}
|
||||||
|
<div>
|
||||||
|
<hr>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<h3 id="add-new-token-tutorial">Add new token to your Query</h3>
|
||||||
|
<p>If you are only looking for a specific token, you can click on the left
|
||||||
|
button and select the type of token you are looking for from the drop-down menu.
|
||||||
|
By default "Word" is selected. </p>
|
||||||
|
|
||||||
|
<h4>Word and Lemma</h4>
|
||||||
|
<p>If you want to search for a specific word or lemma and the respective
|
||||||
|
category is selected in the drop-down menu, you can type in the word or lemma
|
||||||
|
of your choice in the input field. You can confirm your entry by clicking the
|
||||||
|
Submit button on the right. You can also use the options below to modify your
|
||||||
|
token request before pressing the submit button. These options are explained
|
||||||
|
further here.</p>
|
||||||
|
<img src="static/images/manual/query_builder/word_lemma.gif" alt="word and lemma explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>English pos, german pos or simple_pos</h4>
|
||||||
|
<p>You can choose between the options "english pos", "german pos" and
|
||||||
|
"simple_pos" to search for different parts-of-speech. You can find an overview
|
||||||
|
of all tags under the "Tagsets" tab.</p>
|
||||||
|
<img src="static/images/manual/query_builder/pos.gif" alt="part-of-speech-tag explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
|
||||||
|
<h4>Empty Token</h4>
|
||||||
|
<p>Here you can search for an empty token. This selection should never stand
|
||||||
|
alone and should always be extended with an incidence modifier or stand in a
|
||||||
|
larger query, because otherwise all possible tokens would be searched for and
|
||||||
|
the program would crash.</p>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{# Edit Options Tutorial #}
|
||||||
|
<div>
|
||||||
|
<hr>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<h3 id="edit-options-tutorial">Options to edit your token</h3>
|
||||||
|
<p>You have the possibility to extend or specify your searched token with
|
||||||
|
certain factors. For this the query builder offers some fixed options. You can
|
||||||
|
find more information about the options in the Corpus Query Language Tutorial.</p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Wildcard Character</h4>
|
||||||
|
<p>A wildcard character replaces any character and is represented in the form of a dot. </p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Option Group</h4>
|
||||||
|
<p>With an option group you can search for different variants of a token. The
|
||||||
|
variants are not limited, so you can manually enter more options in the same
|
||||||
|
format. "Option1" and "option2" must be replaced accordingly. </p>
|
||||||
|
<img src="static/images/manual/query_builder/option_group.gif" alt="option group explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Incidence Modifiers</h4>
|
||||||
|
<p>With the Incidence Modifiers you can determine the occurrence of single
|
||||||
|
tokens. For example you can use "?" to indicate that the token occurs either
|
||||||
|
not at all or once: <br>
|
||||||
|
[word = "is"] [word="it"] [word="your"] [word="litte"]? [word = "dog"] <br>
|
||||||
|
Here the word "little" should occur either once or not at all. With
|
||||||
|
[word="dogs?"] the search is for "dog "or "dogs". </p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Ignore Case</h4>
|
||||||
|
<p>With the check mark at Ignore Case the upper and lower case is ignored.
|
||||||
|
This is marked with a "%c". By default (if not checked) it is case sensitive.</p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>"or" & "and"</h4>
|
||||||
|
<p>"Or" ( | ) and "and" ( & ) are conditions you can put on a token. With "or"
|
||||||
|
one of the two conditions must be fulfilled, with "and" both conditions must be
|
||||||
|
fulfilled. For example, the word must be called "will" AND be a verb, only then
|
||||||
|
it will be displayed. Note that "and" is not responsible for lining up tokens in
|
||||||
|
this case. For this you can simply string them together: <br>
|
||||||
|
[word="I"] [word="will" & simple_pos="VERB"] [word="go"].</p>
|
||||||
|
<img src="static/images/manual/query_builder/or_and.gif" alt="part-of-speech-tag explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{# Add Structural Attributes Tutorial #}
|
||||||
|
<div>
|
||||||
|
<hr>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<h3 id="add-structural-attribute-tutorial">Add structural attributes to your query</h3>
|
||||||
|
<p>You can use structural attributes to search specifically for structures in
|
||||||
|
the text or to further narrow down your previous search query. </p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Sentence</h4>
|
||||||
|
With "Sentence" (<s></s>) you can search for sentences within your text.
|
||||||
|
This search can of course be specified if you search for particular tokens or
|
||||||
|
entities between the sentence tags (<s></s>). For example, you can search for
|
||||||
|
sentences that contain only a noun, verb, and adjective. <br>
|
||||||
|
After clicking on Sentence you will see a <div class="chip" style="background-color:#FD9720;">Sentence Start</div>.
|
||||||
|
When you are done with your query or the content
|
||||||
|
between the Sentence tags, you have to click the Sentence button one more time
|
||||||
|
to close it. The corresponding button is called
|
||||||
|
<div class="chip" style="background-color:#FD9720;">Sentence End</div>.<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Entities</h4>
|
||||||
|
<p>With entities, i.e. units of meaning, you search for text sections that
|
||||||
|
follow a certain code. For example, persons, dates, certain events. You can
|
||||||
|
select the codes using the drop-down menus. You can find an explanation of
|
||||||
|
the respective abbreviations under the tab "Tagsets". <br>
|
||||||
|
You can also search for unspecified entities by selecting "Add entity of any type".</p>
|
||||||
|
To close the entity query you started, you have to click the entity button one more time. This will make the <div class="chip" style="background-color:#A6E22D;">Entity End</div> element appear in your query.
|
||||||
|
<img src="static/images/manual/query_builder/entity.gif" alt="entity explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h4>Meta Data</h4>
|
||||||
|
<p>With the meta data you can annotate your text and add specific conditions.
|
||||||
|
You can select a category on the left and enter your desired value on the right.
|
||||||
|
The selected metadata will apply to your entire request and will be added at the end.</p>
|
||||||
|
<img src="static/images/manual/query_builder/meta_data.gif" alt="meta data explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{# General Options Tutorial #}
|
||||||
|
<div>
|
||||||
|
<hr>
|
||||||
|
<p></p>
|
||||||
|
<br>
|
||||||
|
<h3 id="general-options-query-builder">General Options of the query builder</h3>
|
||||||
|
<p>You have several options to edit your query after adding it to the preview.</p>
|
||||||
|
|
||||||
|
<h4>Deleting the elements</h4>
|
||||||
|
<p>You can delete the added elements from the query by clicking the X behind the respective content.</p>
|
||||||
|
<img src="static/images/manual/query_builder/delete.gif" alt="delete explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
|
||||||
|
<h4>Move the elements of your query</h4>
|
||||||
|
<p>You can drag and drop elements to customize your query.</p>
|
||||||
|
<img src="static/images/manual/query_builder/drag_and_drop.gif" alt="Drag&Drop explanation" width="100%;" style="margin-bottom:20px;">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
170
app/templates/main/manual/_10_tagsets.html.j2
Normal file
@ -0,0 +1,170 @@
|
|||||||
|
<div id="simple_pos-tagset">
|
||||||
|
<h5>simple_pos tagset</h5>
|
||||||
|
<ul>
|
||||||
|
<li>ADJ: adjective</li>
|
||||||
|
<li>ADP: adposition</li>
|
||||||
|
<li>ADV: adverb</li>
|
||||||
|
<li>AUX: auxiliary verb</li>
|
||||||
|
<li>CONJ: coordinating conjunction</li>
|
||||||
|
<li>DET: determiner</li>
|
||||||
|
<li>INTJ: interjection</li>
|
||||||
|
<li>NOUN: noun</li>
|
||||||
|
<li>NUM: numeral</li>
|
||||||
|
<li>PART: particle</li>
|
||||||
|
<li>PRON: pronoun</li>
|
||||||
|
<li>PROPN: proper noun</li>
|
||||||
|
<li>PUNCT: punctuation</li>
|
||||||
|
<li>SCONJ: subordinating conjunction</li>
|
||||||
|
<li>SYM: symbol</li>
|
||||||
|
<li>VERB: verb</li>
|
||||||
|
<li>X: other</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="english-ent_type-tagset">
|
||||||
|
<h5>English ent_type tagset</h5>
|
||||||
|
<ul>
|
||||||
|
<li>CARDINAL: Numerals that do not fall under another type</li>
|
||||||
|
<li>DATE: Absolute or relative dates or periods</li>
|
||||||
|
<li>EVENT: Named hurricanes, battles, wars, sports events, etc.</li>
|
||||||
|
<li>FAC: Buildings, airports, highways, bridges, etc.</li>
|
||||||
|
<li>GPE: Countries, cities, states</li>
|
||||||
|
<li>LANGUAGE: Any named language</li>
|
||||||
|
<li>LAW: Named documents made into laws.</li>
|
||||||
|
<li>LOC: Non-GPE locations, mountain ranges, bodies of water</li>
|
||||||
|
<li>MONEY: Monetary values, including unit</li>
|
||||||
|
<li>NORP: Nationalities or religious or political groups</li>
|
||||||
|
<li>ORDINAL: "first" "second" etc.</li>
|
||||||
|
<li>ORG: Companies, agencies, institutions, etc.</li>
|
||||||
|
<li>PERCENT: Percentage, including "%"</li>
|
||||||
|
<li>PERSON: People, including fictional</li>
|
||||||
|
<li>PRODUCT: Objects, vehicles, foods, etc. (not services)</li>
|
||||||
|
<li>QUANTITY: Measurements, as of weight or distance</li>
|
||||||
|
<li>TIME: Times smaller than a day</li>
|
||||||
|
<li>WORK_OF_ART: Titles of books, songs, etc.</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="english-pos-tagset">
|
||||||
|
<h5>English pos tagset</h5>
|
||||||
|
<ul>
|
||||||
|
<li>ADD: email</li>
|
||||||
|
<li>AFX: affix</li>
|
||||||
|
<li>CC: conjunction, coordinating</li>
|
||||||
|
<li>CD: cardinal number</li>
|
||||||
|
<li>DT: determiner</li>
|
||||||
|
<li>EX: existential there</li>
|
||||||
|
<li>FW: foreign word</li>
|
||||||
|
<li>HYPH: punctuation mark, hyphen</li>
|
||||||
|
<li>IN: conjunction, subordinating or preposition</li>
|
||||||
|
<li>JJ: adjective</li>
|
||||||
|
<li>JJR: adjective, comparative</li>
|
||||||
|
<li>JJS: adjective, superlative</li>
|
||||||
|
<li>LS: list item marker</li>
|
||||||
|
<li>MD: verb, modal auxiliary</li>
|
||||||
|
<li>NFP: superfluous punctuation</li>
|
||||||
|
<li>NN: noun, singular or mass</li>
|
||||||
|
<li>NNP: noun, proper singular</li>
|
||||||
|
<li>NNPS: noun, proper plural</li>
|
||||||
|
<li>NNS: noun, plural</li>
|
||||||
|
<li>PDT: predeterminer</li>
|
||||||
|
<li>POS: possessive ending</li>
|
||||||
|
<li>PRP: pronoun, personal</li>
|
||||||
|
<li>PRP$: pronoun, possessive RB: adverb</li>
|
||||||
|
<li>RBR: adverb, comparative</li>
|
||||||
|
<li>RBS: adverb, superlative</li>
|
||||||
|
<li>RP: adverb, particle</li>
|
||||||
|
<li>SYM: symbol</li>
|
||||||
|
<li>TO: infinitival "to"</li>
|
||||||
|
<li>UH: interjection</li>
|
||||||
|
<li>VB: verb, base form</li>
|
||||||
|
<li>VBD: verb, past tense</li>
|
||||||
|
<li>VBG: verb, gerund or present participle</li>
|
||||||
|
<li>VBN: verb, past participle</li>
|
||||||
|
<li>VBP: verb, non-3rd person singular present</li>
|
||||||
|
<li>VBZ: verb, 3rd person singular present</li>
|
||||||
|
<li>WDT: wh-determiner</li>
|
||||||
|
<li>WP: wh-pronoun, personal</li>
|
||||||
|
<li>WP$: wh-pronoun, possessive</li>
|
||||||
|
<li>WRB: wh-adverb</li>
|
||||||
|
<li>XX: unknown</li>
|
||||||
|
<li>``: opening quotation mark</li>
|
||||||
|
<li>$: symbol, currency</li>
|
||||||
|
<li>"": closing quotation mark</li>
|
||||||
|
<li>: punctuation mark, comma</li>
|
||||||
|
<li>-LRB-: left round bracket</li>
|
||||||
|
<li>-RRB-: right round bracket</li>
|
||||||
|
<li>.: punctuation mark, sentence closer</li>
|
||||||
|
<li>:: punctuation mark, colon or ellipsis</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="german-ent_type-tagset">
|
||||||
|
<h5>German ent_type tagset</h5>
|
||||||
|
<ul>
|
||||||
|
<li>LOC: Non-GPE locations, mountain ranges, bodies of water</li>
|
||||||
|
<li>MISC: Miscellaneous entities, e.g. events, nationalities, products or works of art</li>
|
||||||
|
<li>ORG: Companies, agencies, institutions, etc.</li>
|
||||||
|
<li>PER: Named person or family.</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="german-pos-tagset">
|
||||||
|
<h5>German pos tagset</h5>
|
||||||
|
<ul>
|
||||||
|
<li>ADJA: adjective, attributive</li>
|
||||||
|
<li>ADJD: adjective, adverbial or predicative</li>
|
||||||
|
<li>ADV: adverb</li>
|
||||||
|
<li>APPO: postposition</li>
|
||||||
|
<li>APPR: preposition; circumposition left</li>
|
||||||
|
<li>APPRART: preposition with article</li>
|
||||||
|
<li>APZR: circumposition right</li>
|
||||||
|
<li>ART: definite or indefinite article</li>
|
||||||
|
<li>CARD: cardinal number</li>
|
||||||
|
<li>FM: foreign language material</li>
|
||||||
|
<li>ITJ: interjection</li>
|
||||||
|
<li>KOKOM: comparative conjunction</li>
|
||||||
|
<li>KON: coordinate conjunction</li>
|
||||||
|
<li>KOUI: subordinate conjunction with \zu\ and infinitive</li>
|
||||||
|
<li>KOUS: subordinate conjunction with sentence</li>
|
||||||
|
<li>NE: proper noun</li>
|
||||||
|
<li>NN: noun, singular or mass</li>
|
||||||
|
<li>NNE: proper noun</li>
|
||||||
|
<li>PDAT: attributive demonstrative pronoun</li>
|
||||||
|
<li>PDS: substituting demonstrative pronoun</li>
|
||||||
|
<li>PIAT: attributive indefinite pronoun without determiner</li>
|
||||||
|
<li>PIS: substituting indefinite pronoun</li>
|
||||||
|
<li>PPER: non-reflexive personal pronoun</li>
|
||||||
|
<li>PPOSAT: attributive possessive pronoun</li>
|
||||||
|
<li>PPOSS: substituting possessive pronoun</li>
|
||||||
|
<li>PRELAT: attributive relative pronoun</li>
|
||||||
|
<li>PRELS: substituting relative pronoun</li>
|
||||||
|
<li>PRF: reflexive personal pronoun</li>
|
||||||
|
<li>PROAV: pronominal adverb</li>
|
||||||
|
<li>PTKA: particle with adjective or adverb</li>
|
||||||
|
<li>PTKANT: answer particle</li>
|
||||||
|
<li>PTKNEG: negative particle</li>
|
||||||
|
<li>PTKVZ: separable verbal particle</li>
|
||||||
|
<li>PTKZU: "zu" before infinitive</li>
|
||||||
|
<li>PWAT: attributive interrogative pronoun</li>
|
||||||
|
<li>PWAV: adverbial interrogative or relative pronoun</li>
|
||||||
|
<li>PWS: substituting interrogative pronoun</li>
|
||||||
|
<li>TRUNC: word remnant</li>
|
||||||
|
<li>VAFIN: finite verb, auxiliary</li>
|
||||||
|
<li>VAIMP: imperative, auxiliary</li>
|
||||||
|
<li>VAINF: infinitive, auxiliary</li>
|
||||||
|
<li>VAPP: perfect participle, auxiliary</li>
|
||||||
|
<li>VMFIN: finite verb, modal</li>
|
||||||
|
<li>VMINF: infinitive, modal</li>
|
||||||
|
<li>VMPP: perfect participle, modal</li>
|
||||||
|
<li>VVFIN: finite verb, full</li>
|
||||||
|
<li>VVIMP: imperative, full</li>
|
||||||
|
<li>VVINF: infinitive, full</li>
|
||||||
|
<li>VVIZU: infinitive with "zu" full</li>
|
||||||
|
<li>VVPP: perfect participle, full</li>
|
||||||
|
<li>XY: non-word containing non-letter</li>
|
||||||
|
<li>$(: other sentence-internal punctuation mark</li>
|
||||||
|
<li>$,: comma</li>
|
||||||
|
<li>$.: sentence-final punctuation mark</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
@ -77,223 +77,61 @@
|
|||||||
<li class="tab"><a href="#german-ent_type-tagset">German ent_type</a></li>
|
<li class="tab"><a href="#german-ent_type-tagset">German ent_type</a></li>
|
||||||
<li class="tab"><a href="#german-pos-tagset">German pos</a></li>
|
<li class="tab"><a href="#german-pos-tagset">German pos</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
{% include "main/manual/_10_tagsets.html.j2" %}
|
||||||
<div id="simple_pos-tagset">
|
|
||||||
<h5>simple_pos tagset</h5>
|
|
||||||
<ul>
|
|
||||||
<li>ADJ: adjective</li>
|
|
||||||
<li>ADP: adposition</li>
|
|
||||||
<li>ADV: adverb</li>
|
|
||||||
<li>AUX: auxiliary verb</li>
|
|
||||||
<li>CONJ: coordinating conjunction</li>
|
|
||||||
<li>DET: determiner</li>
|
|
||||||
<li>INTJ: interjection</li>
|
|
||||||
<li>NOUN: noun</li>
|
|
||||||
<li>NUM: numeral</li>
|
|
||||||
<li>PART: particle</li>
|
|
||||||
<li>PRON: pronoun</li>
|
|
||||||
<li>PROPN: proper noun</li>
|
|
||||||
<li>PUNCT: punctuation</li>
|
|
||||||
<li>SCONJ: subordinating conjunction</li>
|
|
||||||
<li>SYM: symbol</li>
|
|
||||||
<li>VERB: verb</li>
|
|
||||||
<li>X: other</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="english-ent_type-tagset">
|
|
||||||
<h5>English ent_type tagset</h5>
|
|
||||||
<ul>
|
|
||||||
<li>CARDINAL: Numerals that do not fall under another type</li>
|
|
||||||
<li>DATE: Absolute or relative dates or periods</li>
|
|
||||||
<li>EVENT: Named hurricanes, battles, wars, sports events, etc.</li>
|
|
||||||
<li>FAC: Buildings, airports, highways, bridges, etc.</li>
|
|
||||||
<li>GPE: Countries, cities, states</li>
|
|
||||||
<li>LANGUAGE: Any named language</li>
|
|
||||||
<li>LAW: Named documents made into laws.</li>
|
|
||||||
<li>LOC: Non-GPE locations, mountain ranges, bodies of water</li>
|
|
||||||
<li>MONEY: Monetary values, including unit</li>
|
|
||||||
<li>NORP: Nationalities or religious or political groups</li>
|
|
||||||
<li>ORDINAL: "first" "second" etc.</li>
|
|
||||||
<li>ORG: Companies, agencies, institutions, etc.</li>
|
|
||||||
<li>PERCENT: Percentage, including "%"</li>
|
|
||||||
<li>PERSON: People, including fictional</li>
|
|
||||||
<li>PRODUCT: Objects, vehicles, foods, etc. (not services)</li>
|
|
||||||
<li>QUANTITY: Measurements, as of weight or distance</li>
|
|
||||||
<li>TIME: Times smaller than a day</li>
|
|
||||||
<li>WORK_OF_ART: Titles of books, songs, etc.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="english-pos-tagset">
|
|
||||||
<h5>English pos tagset</h5>
|
|
||||||
<ul>
|
|
||||||
<li>ADD: email</li>
|
|
||||||
<li>AFX: affix</li>
|
|
||||||
<li>CC: conjunction, coordinating</li>
|
|
||||||
<li>CD: cardinal number</li>
|
|
||||||
<li>DT: determiner</li>
|
|
||||||
<li>EX: existential there</li>
|
|
||||||
<li>FW: foreign word</li>
|
|
||||||
<li>HYPH: punctuation mark, hyphen</li>
|
|
||||||
<li>IN: conjunction, subordinating or preposition</li>
|
|
||||||
<li>JJ: adjective</li>
|
|
||||||
<li>JJR: adjective, comparative</li>
|
|
||||||
<li>JJS: adjective, superlative</li>
|
|
||||||
<li>LS: list item marker</li>
|
|
||||||
<li>MD: verb, modal auxiliary</li>
|
|
||||||
<li>NFP: superfluous punctuation</li>
|
|
||||||
<li>NN: noun, singular or mass</li>
|
|
||||||
<li>NNP: noun, proper singular</li>
|
|
||||||
<li>NNPS: noun, proper plural</li>
|
|
||||||
<li>NNS: noun, plural</li>
|
|
||||||
<li>PDT: predeterminer</li>
|
|
||||||
<li>POS: possessive ending</li>
|
|
||||||
<li>PRP: pronoun, personal</li>
|
|
||||||
<li>PRP$: pronoun, possessive RB: adverb</li>
|
|
||||||
<li>RBR: adverb, comparative</li>
|
|
||||||
<li>RBS: adverb, superlative</li>
|
|
||||||
<li>RP: adverb, particle</li>
|
|
||||||
<li>SYM: symbol</li>
|
|
||||||
<li>TO: infinitival "to"</li>
|
|
||||||
<li>UH: interjection</li>
|
|
||||||
<li>VB: verb, base form</li>
|
|
||||||
<li>VBD: verb, past tense</li>
|
|
||||||
<li>VBG: verb, gerund or present participle</li>
|
|
||||||
<li>VBN: verb, past participle</li>
|
|
||||||
<li>VBP: verb, non-3rd person singular present</li>
|
|
||||||
<li>VBZ: verb, 3rd person singular present</li>
|
|
||||||
<li>WDT: wh-determiner</li>
|
|
||||||
<li>WP: wh-pronoun, personal</li>
|
|
||||||
<li>WP$: wh-pronoun, possessive</li>
|
|
||||||
<li>WRB: wh-adverb</li>
|
|
||||||
<li>XX: unknown</li>
|
|
||||||
<li>``: opening quotation mark</li>
|
|
||||||
<li>$: symbol, currency</li>
|
|
||||||
<li>"": closing quotation mark</li>
|
|
||||||
<li>: punctuation mark, comma</li>
|
|
||||||
<li>-LRB-: left round bracket</li>
|
|
||||||
<li>-RRB-: right round bracket</li>
|
|
||||||
<li>.: punctuation mark, sentence closer</li>
|
|
||||||
<li>:: punctuation mark, colon or ellipsis</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="german-ent_type-tagset">
|
|
||||||
<h5>German ent_type tagset</h5>
|
|
||||||
<ul>
|
|
||||||
<li>LOC: Non-GPE locations, mountain ranges, bodies of water</li>
|
|
||||||
<li>MISC: Miscellaneous entities, e.g. events, nationalities, products or works of art</li>
|
|
||||||
<li>ORG: Companies, agencies, institutions, etc.</li>
|
|
||||||
<li>PER: Named person or family.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="german-pos-tagset">
|
|
||||||
<h5>German pos tagset</h5>
|
|
||||||
<ul>
|
|
||||||
<li>ADJA: adjective, attributive</li>
|
|
||||||
<li>ADJD: adjective, adverbial or predicative</li>
|
|
||||||
<li>ADV: adverb</li>
|
|
||||||
<li>APPO: postposition</li>
|
|
||||||
<li>APPR: preposition; circumposition left</li>
|
|
||||||
<li>APPRART: preposition with article</li>
|
|
||||||
<li>APZR: circumposition right</li>
|
|
||||||
<li>ART: definite or indefinite article</li>
|
|
||||||
<li>CARD: cardinal number</li>
|
|
||||||
<li>FM: foreign language material</li>
|
|
||||||
<li>ITJ: interjection</li>
|
|
||||||
<li>KOKOM: comparative conjunction</li>
|
|
||||||
<li>KON: coordinate conjunction</li>
|
|
||||||
<li>KOUI: subordinate conjunction with \zu\ and infinitive</li>
|
|
||||||
<li>KOUS: subordinate conjunction with sentence</li>
|
|
||||||
<li>NE: proper noun</li>
|
|
||||||
<li>NN: noun, singular or mass</li>
|
|
||||||
<li>NNE: proper noun</li>
|
|
||||||
<li>PDAT: attributive demonstrative pronoun</li>
|
|
||||||
<li>PDS: substituting demonstrative pronoun</li>
|
|
||||||
<li>PIAT: attributive indefinite pronoun without determiner</li>
|
|
||||||
<li>PIS: substituting indefinite pronoun</li>
|
|
||||||
<li>PPER: non-reflexive personal pronoun</li>
|
|
||||||
<li>PPOSAT: attributive possessive pronoun</li>
|
|
||||||
<li>PPOSS: substituting possessive pronoun</li>
|
|
||||||
<li>PRELAT: attributive relative pronoun</li>
|
|
||||||
<li>PRELS: substituting relative pronoun</li>
|
|
||||||
<li>PRF: reflexive personal pronoun</li>
|
|
||||||
<li>PROAV: pronominal adverb</li>
|
|
||||||
<li>PTKA: particle with adjective or adverb</li>
|
|
||||||
<li>PTKANT: answer particle</li>
|
|
||||||
<li>PTKNEG: negative particle</li>
|
|
||||||
<li>PTKVZ: separable verbal particle</li>
|
|
||||||
<li>PTKZU: "zu" before infinitive</li>
|
|
||||||
<li>PWAT: attributive interrogative pronoun</li>
|
|
||||||
<li>PWAV: adverbial interrogative or relative pronoun</li>
|
|
||||||
<li>PWS: substituting interrogative pronoun</li>
|
|
||||||
<li>TRUNC: word remnant</li>
|
|
||||||
<li>VAFIN: finite verb, auxiliary</li>
|
|
||||||
<li>VAIMP: imperative, auxiliary</li>
|
|
||||||
<li>VAINF: infinitive, auxiliary</li>
|
|
||||||
<li>VAPP: perfect participle, auxiliary</li>
|
|
||||||
<li>VMFIN: finite verb, modal</li>
|
|
||||||
<li>VMINF: infinitive, modal</li>
|
|
||||||
<li>VMPP: perfect participle, modal</li>
|
|
||||||
<li>VVFIN: finite verb, full</li>
|
|
||||||
<li>VVIMP: imperative, full</li>
|
|
||||||
<li>VVINF: infinitive, full</li>
|
|
||||||
<li>VVIZU: infinitive with "zu" full</li>
|
|
||||||
<li>VVPP: perfect participle, full</li>
|
|
||||||
<li>XY: non-word containing non-letter</li>
|
|
||||||
<li>$(: other sentence-internal punctuation mark</li>
|
|
||||||
<li>$,: comma</li>
|
|
||||||
<li>$.: sentence-final punctuation mark</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="modal" id="concordance-query-builder" style="width:70%;">
|
<div class="modal" id="concordance-query-builder" style="width:70%;">
|
||||||
<div class="modal-content">
|
<div class="modal-content" style="overflow-x:hidden;">
|
||||||
<nav style="background-color:#AA9CC9; margin-top:-25px; margin-left:-25px; width:105%;">
|
<div >
|
||||||
<div class="nav-wrapper" style="padding-left:15px">
|
<nav style="background-color:#6B3F89; margin-top:-25px; margin-left:-25px; width:105%;">
|
||||||
|
<div class="nav-wrapper" style="padding-left:15px;">
|
||||||
<a href="#!" class="brand-logo"><i class="material-icons">build</i>Query Builder</a>
|
<a href="#!" class="brand-logo"><i class="material-icons">build</i>Query Builder</a>
|
||||||
<i class="material-icons close right" style="margin-right: 25px; cursor:pointer;" id="close-query-builder">close</i>
|
<i class="material-icons close right" style="margin-right: 50px; cursor:pointer;" id="close-query-builder">close</i>
|
||||||
|
<a class="modal-trigger" href="#query-builder-tutorial-modal" >
|
||||||
|
<i class="material-icons right tooltipped" id="query-builder-tutorial-info-icon" data-position="bottom" data-tooltip="Click here if you are unsure how to use the Query Builder <br>and want to find out what other options it offers.">help</i>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p></p>
|
<p></p>
|
||||||
|
|
||||||
<div id="query-container" class="hide">
|
<div id="query-container" class="hide">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h6 class="col s7">Your Query:</h6>
|
<h6 class="col s2">Your Query:
|
||||||
|
<a class="modal-trigger" href="#query-builder-tutorial-modal">
|
||||||
|
<i class="material-icons left" id="general-options-query-builder-tutorial-info-icon" style="color:black;">help_outline</i></a>
|
||||||
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
<div id="button-preparer"></div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s10" id="your-query" style="border-bottom-style: solid; border-bottom-width:1px;"></div>
|
<div class="col s10 tooltipped" id="your-query" style="border-bottom-style: solid; border-bottom-width:1px;" data-position="bottom" data-tooltip="You can edit your query by deleting individual elements or moving them via drag and drop."></div>
|
||||||
<a class="btn-small disabled waves-effect waves-teal col s1" id="insert-query-button" style="background-color:#00426f; text-align:center">
|
<a class="btn-small waves-effect waves-teal col s1" id="insert-query-button" style="background-color:#00426f; text-align:center">
|
||||||
<i class="material-icons">send</i>
|
<i class="material-icons">send</i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<p>Preview:</p>
|
<p><i> Preview:</i></p>
|
||||||
<p id="query-preview"></p>
|
<p id="query-preview"></p>
|
||||||
<p></p>
|
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h6>Use the following options to build your query:</h6>
|
<h6>Use the following options to build your query. If you need help, click on the question mark in the upper right corner!</h6>
|
||||||
<p></p>
|
<p></p>
|
||||||
<a class="btn-large waves-effect waves-light tooltipped" id="positional-attr-button" data-position="bottom" data-tooltip="Search for any token, for example a word, a lemma or a part-of-speech tag">Add new token to your query</a>
|
<a class="btn-large waves-effect waves-light tooltipped" id="positional-attr-button" data-position="bottom" data-tooltip="Search for any token, for example a word, a lemma or a part-of-speech tag">Add new token to your query</a>
|
||||||
<a class="btn-large waves-effect waves-light tooltipped" id="structural-attr-button" data-position="bottom" data-tooltip="Structure your query with structural attributes, for example sentences, entities or annotate the text">Add structural attributes to your query</a>
|
<a class="btn-large waves-effect waves-light tooltipped" id="structural-attr-button" data-position="bottom" data-tooltip="Structure your query with structural attributes, for example sentences, entities or annotate the text">Add structural attributes to your query</a>
|
||||||
|
|
||||||
<div id="structural-attr" class="hide">
|
<div id="structural-attr" class="hide">
|
||||||
<p></p>
|
<p></p>
|
||||||
<h6 style="margin-left:15px;">Which structural attribute do you want to add to your query?</h6>
|
<h6 style="margin-left:15px;">Which structural attribute do you want to add to your query?<a class="modal-trigger" href="#query-builder-tutorial-modal"><i class="material-icons left" id="add-structural-attribute-tutorial-info-icon" style="color:black;">help_outline</i></a></h6>
|
||||||
<p></p>
|
<p></p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<a class="btn-small waves-effect waves-light" id="sentence" style="background-color:#FD9720">sentence</a>
|
<a class="btn-small waves-effect waves-light" id="sentence" style="background-color:#FD9720">sentence</a>
|
||||||
<a class="btn-small waves-effect waves-light" id="entity" style="background-color:#A6E22D">entity</a>
|
<a class="btn-small waves-effect waves-light" id="entity" style="background-color:#A6E22D">entity</a>
|
||||||
<a class="btn-small waves-effect waves-light" id="text-annotation" style="background-color:#2FBBAB">text annotation</a>
|
<a class="btn-small waves-effect waves-light" id="text-annotation" style="background-color:#2FBBAB">Meta Data</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -360,7 +198,7 @@
|
|||||||
<option class="btn-small waves-effect waves-light" value="school">school</option>
|
<option class="btn-small waves-effect waves-light" value="school">school</option>
|
||||||
<option class="btn-small waves-effect waves-light" value="title">title</option>
|
<option class="btn-small waves-effect waves-light" value="title">title</option>
|
||||||
</select>
|
</select>
|
||||||
<label>text annotation</label>
|
<label>Meta data</label>
|
||||||
</div>
|
</div>
|
||||||
<div class= "input-field col s7 l5">
|
<div class= "input-field col s7 l5">
|
||||||
<i class="material-icons prefix">mode_edit</i>
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
@ -371,6 +209,7 @@
|
|||||||
<i class="material-icons right">send</i>
|
<i class="material-icons right">send</i>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="hide" id="no-value-metadata-message" style="padding-top:25px; margin-left:-20px;"><i>No value entered!</i></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -378,36 +217,31 @@
|
|||||||
|
|
||||||
<div id="positional-attr" class="hide">
|
<div id="positional-attr" class="hide">
|
||||||
<p></p>
|
<p></p>
|
||||||
<h6 style="margin-left:15px;">Which kind of token are you looking for?</h6>
|
<div class="row" style="background-color:#f2eff7; padding:15px; border-top-style: solid; border-color:#6B3F89">
|
||||||
|
<div class="col s5" style="margin-top:15px;">
|
||||||
|
<h6 style="margin-left:15px;">Which kind of token are you looking for? <a class="modal-trigger" href="#query-builder-tutorial-modal"><i class="material-icons left" id="token-tutorial-info-icon" style="color:black;">help_outline</i></a></h6>
|
||||||
|
</div>
|
||||||
|
<div class="input-field col s3">
|
||||||
|
<select id="token-attr">
|
||||||
|
<option value="word" selected>word</option>
|
||||||
|
<option value="lemma">lemma</option>
|
||||||
|
<option value="english-pos">english pos</option>
|
||||||
|
<option value="german-pos">german pos</option>
|
||||||
|
<option value="simple-pos-button">simple_pos</option>
|
||||||
|
<option value="empty-token">empty token</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<p></p>
|
<p></p>
|
||||||
<div class="row">
|
|
||||||
<div id="token-attr" class="col s12">
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light" data-position="bottom" data-tooltip="You can look for an empty token. It is NOT recommended to search for an empty token <br> without an incidence modifier, because each token would matches this pattern." id="empty-token" style="background-color:#43c6fc">empty token</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light" id="word" style="background-color:#ef60b4" data-position="bottom" data-tooltip="You can search for a word and modify the corresponding search">word</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light" id="lemma" style="background-color:#ef60b4" data-position="bottom" data-tooltip="You can search for a lemma and modify the corresponding search">lemma</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light" id="pos" style="background-color:#ef60b4" data-position="bottom" data-tooltip="You can search for a part of speech tag">pos</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light" id="simple-pos-button" style="background-color:#ef60b4" data-position="bottom" data-tooltip="You can search for a simple part of speech tag">simple_pos</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light disabled" id="or" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>At least one must be fulfilled">or</a>
|
|
||||||
<a class="btn-small tooltipped waves-effect waves-light disabled" id="and" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>Both must be fulfilled">and</a>
|
|
||||||
<a class="dropdown-trigger tooltipped btn-small disabled waves-effect waves-light" href="#" data-target="incidence-modifiers" data-position="bottom" data-tooltip="Incidence Modifiers are special characters or patterns, <br>which determine how often a character represented previously should occur." style="background-color:#2fbbab">incidence modifiers</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="token-builder-content">
|
<div id="token-builder-content">
|
||||||
|
|
||||||
|
|
||||||
<div class="row" >
|
<div class="row" >
|
||||||
|
<div id="token-query"></div>
|
||||||
|
|
||||||
|
<div id="word-builder">
|
||||||
<div id="word-builder" class="hide">
|
|
||||||
<div class= "input-field col s3 l4">
|
<div class= "input-field col s3 l4">
|
||||||
<i class="material-icons prefix">mode_edit</i>
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
<input placeholder="Type in your word" type="text" id="word-input">
|
<input placeholder="Type in your word" type="text" id="word-input">
|
||||||
</div>
|
</div>
|
||||||
<div class="col s1 l1 center-align">
|
|
||||||
<p class="btn-floating waves-effect waves-light" id="word-submit">
|
|
||||||
<i class="material-icons right">send</i>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="lemma-builder" class="hide" >
|
<div id="lemma-builder" class="hide" >
|
||||||
@ -415,42 +249,12 @@
|
|||||||
<i class="material-icons prefix">mode_edit</i>
|
<i class="material-icons prefix">mode_edit</i>
|
||||||
<input placeholder="Type in your lemma" type="text" id="lemma-input">
|
<input placeholder="Type in your lemma" type="text" id="lemma-input">
|
||||||
</div>
|
</div>
|
||||||
<div class="col s1 l1 center-align">
|
|
||||||
<p class="btn-floating waves-effect waves-light" id="lemma-submit">
|
|
||||||
<i class="material-icons right">send</i>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="input-options" class="col s6 l4 hide center-align">
|
<div id="english-pos-builder" class="hide">
|
||||||
<p id="wildcard-char" class="btn-small tooltipped waves-effect waves-light" data-position="top" data-tooltip="Wildcard Character">.</p>
|
<div class="col s6 m4 l4">
|
||||||
<p id="option-group" class="btn-small waves-effect waves-light">Option Group</p>
|
|
||||||
<a class="dropdown-trigger btn-small waves-effect waves-light" href="#" data-target="incidence-modifiers-text-builder" style="background-color:#2fbbab">incidence modifiers</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="ignore-case-checkbox" class="hide col s2 l3">
|
|
||||||
<p id="ignore-case">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" class="filled-in" />
|
|
||||||
<span>Ignore Case</span>
|
|
||||||
</label>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul id="incidence-modifiers-text-builder" class="dropdown-content">
|
|
||||||
<li><a id="one-or-more-tb" data-token="+">one or more</a></li>
|
|
||||||
<li><a id="zero-or-more-tb" data-token="*">zero or more</a></li>
|
|
||||||
<li><a id="zero-or-one-tb" data-token="?">zero or one</a></li>
|
|
||||||
<li><a id="exactly-n-tb" data-token="{n}">exactly n</a></li>
|
|
||||||
<li><a id="between-n-m-tb" data-token="{n,m}" >between n and m</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="pos-builder" class="hide">
|
|
||||||
<div class="col s12 m9 l9">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class= "input-field col s4 l3">
|
<div class= "input-field col s12">
|
||||||
<select name="englishpos" id="english-pos">
|
<select name="englishpos" id="english-pos">
|
||||||
<option value="default" disabled selected>English pos tagset</option>
|
<option value="default" disabled selected>English pos tagset</option>
|
||||||
<option value="ADD">email</option>
|
<option value="ADD">email</option>
|
||||||
@ -468,7 +272,14 @@
|
|||||||
</select>
|
</select>
|
||||||
<label>Part-of-speech tags</label>
|
<label>Part-of-speech tags</label>
|
||||||
</div>
|
</div>
|
||||||
<div class= "input-field col s4 l3">
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="german-pos-builder" class="hide">
|
||||||
|
<div class="col s6 m4 l4">
|
||||||
|
<div class="row">
|
||||||
|
<div class= "input-field col s12">
|
||||||
<select name="germanpos" id="german-pos">
|
<select name="germanpos" id="german-pos">
|
||||||
<option value="default" disabled selected>German pos tagset</option>
|
<option value="default" disabled selected>German pos tagset</option>
|
||||||
<option value="ADJA">adjective, attributive</option>
|
<option value="ADJA">adjective, attributive</option>
|
||||||
@ -480,15 +291,16 @@
|
|||||||
<option value="APZR">circumposition right</option>
|
<option value="APZR">circumposition right</option>
|
||||||
<option value="ART">definite or indefinite article</option>
|
<option value="ART">definite or indefinite article</option>
|
||||||
</select>
|
</select>
|
||||||
|
<label>Part-of-speech tags</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="simplepos-builder" class="hide">
|
<div id="simplepos-builder" class="hide">
|
||||||
<div class="col s12 m9 l9">
|
<div class="col s6 m4 l4">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class= "input-field col s4 l3">
|
<div class= "input-field col s12">
|
||||||
<select name="simplepos" id="simple-pos">
|
<select name="simplepos" id="simple-pos">
|
||||||
<option value="default" disabled selected>simple_pos tagset</option>
|
<option value="default" disabled selected>simple_pos tagset</option>
|
||||||
<option value="ADJ">adjective</option>
|
<option value="ADJ">adjective</option>
|
||||||
@ -514,15 +326,52 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col s1 l1 center-align">
|
||||||
|
<p class="btn-floating waves-effect waves-light" id="token-submit">
|
||||||
|
<i class="material-icons right">send</i>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="hide" id="no-value-message" style="padding-top:25px; margin-left:-20px;"><i>No value entered!</i></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="token-edit-options">
|
||||||
|
<div class="row">
|
||||||
|
<h6 style="margin-left:15px;">Options to edit your token: <a class="modal-trigger" href="#query-builder-tutorial-modal" style="color:black"><i class="material-icons left" id="edit-options-tutorial-info-icon">help_outline</i></a></h6>
|
||||||
|
</div>
|
||||||
|
<p></p>
|
||||||
|
<div class="row">
|
||||||
|
<div id="input-options" class="col s5 m5 l5 xl4">
|
||||||
|
<a id="wildcard-char" class="btn-small waves-effect waves-light tooltipped" data-position="top" data-tooltip="Look for a variable character (also called wildcard character)">Wildcard character</a>
|
||||||
|
<a id="option-group" class="btn-small waves-effect waves-light tooltipped" data-position="top" data-tooltip="Find character sequences from a list of options">Option Group</a>
|
||||||
|
</div>
|
||||||
|
<div class="col s3 m3 l3 xl3" id="incidence-modifiers-button">
|
||||||
|
<a class="dropdown-trigger btn-small waves-effect waves-light" href="#" data-target="incidence-modifiers" style="background-color:#2fbbab" data-position="top" data-tooltip="Incidence Modifiers are special characters or patterns, <br>which determine how often a character represented previously should occur.">incidence modifiers</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ul id="incidence-modifiers" class="dropdown-content">
|
<ul id="incidence-modifiers" class="dropdown-content">
|
||||||
<li><a id="one-or-more" data-token="+">one or more</a></li>
|
<li><a id="one-or-more" data-token="+" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">one or more (+)</a></li>
|
||||||
<li><a id="zero-or-more" data-token="*">zero or more</a></li>
|
<li><a id="zero-or-more" data-token="*" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">zero or more (*)</a></li>
|
||||||
<li><a id="zero-or-one" data-token="?">zero or one</a></li>
|
<li><a id="zero-or-one" data-token="?" class="tooltipped" data-position ="top" data-tooltip="...occurrences of the character/token before">zero or one (?)</a></li>
|
||||||
<li><a id="exactly-n" class="modal-trigger" href="#exactlyN" data-token="{n}">exactly n</a></li>
|
<li><a id="exactly-n" class="modal-trigger tooltipped" href="#exactlyN" data-token="{n}" class="" data-position ="top" data-tooltip="...occurrences of the character/token before">exactly n ({n})</a></li>
|
||||||
<li><a id="between-n-m" class="modal-trigger" href="#betweenNM" data-token="{n,m}" >between n and m</a></li>
|
<li><a id="between-n-m" class="modal-trigger tooltipped" href="#betweenNM" data-token="{n,m}" class="" data-position ="top" data-tooltip="...occurrences of the character/token before">between n and m ({n,m})</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<div id="ignore-case-checkbox" class="col s2 m2 l2 xl2">
|
||||||
|
<p id="ignore-case" style="margin-top:5px;">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" class="filled-in" />
|
||||||
|
<span>Ignore Case</span>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col s2 m2 l2 xl2" id="condition-container">
|
||||||
|
<a class="btn-small tooltipped waves-effect waves-light" id="or" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>At least one must be fulfilled">or</a>
|
||||||
|
<a class="btn-small tooltipped waves-effect waves-light" id="and" style="background-color:#fc0" data-position="bottom" data-tooltip="You can add another condition to your token. <br>Both must be fulfilled">and</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id ="exactlyN" class="modal">
|
<div id ="exactlyN" class="modal">
|
||||||
@ -556,17 +405,43 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="token-query"></div>
|
</div>
|
||||||
<p></p>
|
</div>
|
||||||
<a class="btn waves-effect disabled waves-light" style="background-color:#00426f" id="build-token-button">
|
|
||||||
Add token to your query
|
<div class="modal modal-fixed-footer" id="query-builder-tutorial-modal" style="width:60%;">
|
||||||
<i class="material-icons right">check</i>
|
<div class="modal-content" >
|
||||||
|
<div id="query-builder-tutorial-start"></div>
|
||||||
|
<ul class="tabs" style="margin-top:10px;">
|
||||||
|
<li class="tab"><a class="active" href="#query-builder-tutorial">Query Builder Tutorial</a></li>
|
||||||
|
{# <li class="tab"><a href="#qb-examples">Examples</a></li> #}
|
||||||
|
<li class="tab"><a href="#cql-cb-tutorial">Corpus Query Language Tutorial</a></li>
|
||||||
|
<li class="tab"><a href="#tagsets-cb-tutorial">Tagsets</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div id="query-builder-tutorial" style="padding:15px;">
|
||||||
|
{% include "main/manual/_09_query_builder.html.j2" %}
|
||||||
|
</div>
|
||||||
|
{# <div id="qb-examples"></div> #}
|
||||||
|
<div id ="cql-cb-tutorial">
|
||||||
|
{% with headline_num=4 %}
|
||||||
|
{% include "main/manual/_08_cqp_query_language.html.j2" %}
|
||||||
|
{% endwith %}
|
||||||
|
</div>
|
||||||
|
<div id="tagsets-cb-tutorial">
|
||||||
|
<h4>Tagsets</h4>
|
||||||
|
{% include "main/manual/_10_tagsets.html.j2" %}
|
||||||
|
</div>
|
||||||
|
<div class="fixed-action-btn">
|
||||||
|
<a class="btn-floating btn-large teal" id="scroll-up-button-query-builder-tutorial" href='#query-builder-tutorial-start' style="background:#28B3D1">
|
||||||
|
<i class="large material-icons">arrow_upward</i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock modals %}
|
{% endblock modals %}
|
||||||
|
|
||||||
@ -575,6 +450,6 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
const concordanceQueryBuilder = new ConcordanceQueryBuilder(word)
|
const concordanceQueryBuilder = new ConcordanceQueryBuilder()
|
||||||
</script>
|
</script>
|
||||||
{% endblock scripts %}
|
{% endblock scripts %}
|
||||||
|