Updated to new STARK version + some small updates
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<input id="input_url" name="input_url" type="text" class="validate{% if 'input_url' in validation %} invalid{% endif %}">
|
||||
<label for="input_url"><u>{{ _('Or') }}</u> {{ _('insert a URL link to a treebank in CONLL-U format') }} (<a class="nav-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_English-GUM/master/en_gum-ud-train.conllu" title="{{ _('Example') }}"><span class="menu-title sr-only">{{ _('Example') }}</span></a>)</label>
|
||||
<label for="input_url"><u>{{ _('Or') }}</u> {{ _('insert a URL link to a treebank in CONLL-U format') }} (<a class="nav-link example-input-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_English-GUM/master/en_gum-ud-train.conllu" title="UD_English-GUM"><span class="menu-title sr-only">UD_English-GUM</span></a>,
|
||||
<a class="nav-link example-input-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_French-FTB/master/fr_ftb-ud-train.conllu" title="UD_French-FTB"><span class="menu-title sr-only">UD_French-FTB</span></a>,
|
||||
<a class="nav-link example-input-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_Slovenian-SSJ/master/sl_ssj-ud-train.conllu" title="UD_Slovenian-SSJ"><span class="menu-title sr-only">UD_Slovenian-SSJ</span></a>)</label>
|
||||
{% if 'input_url' in validation %}
|
||||
<span class="helper-text" data-error="{{validation['input_url']}}"></span>
|
||||
{% endif %}
|
||||
@@ -38,35 +40,40 @@
|
||||
<h6>{{ _('Tree specification') }}</h6>
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<label><b>{{ _('Tree size') }}</b>: {{ _('number of tokens in the tree') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--size" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<br />
|
||||
<div id="slider"></div>
|
||||
<input id="display_size" name="display_size" type="text" class="validate">
|
||||
<label for="display_size"><b>{{ _('Tree size') }}</b>: {{ _('number of tokens in the tree') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--size" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label><b>{{ _('Node type') }}</b>: {{ _('token characteristics to consider') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--node_type" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||
<div class="row">
|
||||
<div class="input-field">
|
||||
<div class="col s4">
|
||||
<div class="col s3">
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in {% if 'node_type' in validation %} invalid{% endif %}" name="node_type_upos" checked="checked" />
|
||||
<span>{{ _('Part-of-speech') }}</span>
|
||||
<input type="checkbox" class="node_type node_type_none filled-in {% if 'node_type' in validation %} invalid{% endif %}" name="node_type_none" checked="checked" />
|
||||
<span>{{ _('No type') }}</span>
|
||||
{% if 'node_type' in validation %}
|
||||
<span class="helper-text" data-error="{{validation['node_type']}}"></span>
|
||||
{% endif %}
|
||||
</label>
|
||||
</div>
|
||||
<div class="col s4">
|
||||
<div class="col s3">
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" name="node_type_lemma"/>
|
||||
<input type="checkbox" class="node_type filled-in {% if 'node_type' in validation %} invalid{% endif %}" name="node_type_upos" />
|
||||
<span>{{ _('Part-of-speech') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col s3">
|
||||
<label>
|
||||
<input type="checkbox" class="node_type filled-in" name="node_type_lemma"/>
|
||||
<span>{{ _('Lemma') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col s4">
|
||||
<div class="col s3">
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" name="node_type_form"/>
|
||||
<input type="checkbox" class="node_type filled-in" name="node_type_form"/>
|
||||
<span>{{ _('Form') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
@@ -120,6 +127,12 @@
|
||||
<label for="root_restriction"><b>{{ _('Head') }}</b>: {{ _('specify potential restrictions on the head node') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--head" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<input id="ignored_labels" name="ignored_labels" type="text" class="validate">
|
||||
<label for="ignored_labels"><b>{{ _('Ignored labels') }}</b>: {{ _('specify the dependency labels of nodes to be ignored') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--ignore_labels" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<input id="query" name="query" type="text" class="validate">
|
||||
@@ -174,7 +187,9 @@
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<input id="compare_url" name="compare_url" type="text" class="validate{% if 'compare_url' in validation %} invalid{% endif %}">
|
||||
<label for="compare_url"><u>{{ _('Or') }}</u> {{ _('insert a URL link to a treebank in CONLL-U format') }} (<a class="nav-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_English-GUM/master/en_gum-ud-train.conllu" title="{{ _('Example') }}"><span class="menu-title sr-only">{{ _('Example') }}</span></a>)</label>
|
||||
<label for="compare_url"><u>{{ _('Or') }}</u> {{ _('insert a URL link to a treebank in CONLL-U format') }} (<a class="nav-link example-compare-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_English-GUM/master/en_gum-ud-train.conllu" title="UD_English-GUM"><span class="menu-title sr-only">UD_English-GUM</span></a>,
|
||||
<a class="nav-link example-compare-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_French-FTB/master/fr_ftb-ud-train.conllu" title="UD_French-FTB"><span class="menu-title sr-only">UD_French-FTB</span></a>,
|
||||
<a class="nav-link example-compare-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_Slovenian-SSJ/master/sl_ssj-ud-train.conllu" title="UD_Slovenian-SSJ"><span class="menu-title sr-only">UD_Slovenian-SSJ</span></a>)</label>
|
||||
{% if 'compare_url' in validation %}
|
||||
<span class="helper-text" data-error="{{validation['compare_url']}}"></span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user