Fixed translations + Resizing line overlap + Disabled No type + Reorganized settings + Other fixes
This commit is contained in:
parent
adff072475
commit
ac733092cc
53
app.py
53
app.py
|
@ -31,6 +31,42 @@ def get_locale():
|
||||||
return DEFAULT_LANGUAGE
|
return DEFAULT_LANGUAGE
|
||||||
|
|
||||||
|
|
||||||
|
def ilog(n, base):
|
||||||
|
"""
|
||||||
|
Find the integer log of n with respect to the base.
|
||||||
|
|
||||||
|
>>> import math
|
||||||
|
>>> for base in range(2, 16 + 1):
|
||||||
|
... for n in range(1, 1000):
|
||||||
|
... assert ilog(n, base) == int(math.log(n, base) + 1e-10), '%s %s' % (n, base)
|
||||||
|
"""
|
||||||
|
count = 0
|
||||||
|
while n >= base:
|
||||||
|
count += 1
|
||||||
|
n //= base
|
||||||
|
return count
|
||||||
|
|
||||||
|
|
||||||
|
def sci_notation(n, prec=2):
|
||||||
|
"""
|
||||||
|
Represent n in scientific notation, with the specified precision.
|
||||||
|
|
||||||
|
>>> sci_notation(1234 * 10**1000)
|
||||||
|
'1.234e+1003'
|
||||||
|
>>> sci_notation(10**1000 // 2, prec=1)
|
||||||
|
'5.0e+999'
|
||||||
|
"""
|
||||||
|
if -100000 < n < 100000:
|
||||||
|
return str(n)
|
||||||
|
|
||||||
|
if n < 0:
|
||||||
|
return "-" + sci_notation(-n, prec=prec)
|
||||||
|
base = 10
|
||||||
|
exponent = ilog(n, base)
|
||||||
|
mantissa = n / base**exponent
|
||||||
|
return '{0:.{1}f}e{2:+d}'.format(mantissa, prec, exponent)
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
app = Flask(__name__, static_url_path='/stark/static')
|
app = Flask(__name__, static_url_path='/stark/static')
|
||||||
|
|
||||||
|
@ -50,7 +86,7 @@ def create_app():
|
||||||
|
|
||||||
# mandatory parameters with default value
|
# mandatory parameters with default value
|
||||||
configs['internal_saves'] = './internal_saves'
|
configs['internal_saves'] = './internal_saves'
|
||||||
configs['cpu_cores'] = 12
|
configs['cpu_cores'] = 1
|
||||||
configs['complete_tree_type'] = True
|
configs['complete_tree_type'] = True
|
||||||
configs['dependency_type'] = True
|
configs['dependency_type'] = True
|
||||||
configs['node_order'] = True
|
configs['node_order'] = True
|
||||||
|
@ -150,12 +186,19 @@ def create_app():
|
||||||
for j, v in enumerate(row):
|
for j, v in enumerate(row):
|
||||||
content_dict[head[j]].append(v)
|
content_dict[head[j]].append(v)
|
||||||
|
|
||||||
displayed_head = [v for k, v in table_columns2displayed_table_columns.items() if k in head]
|
head = [(k, v) for k, v in table_columns2displayed_table_columns.items() if k in head]
|
||||||
displayed_content_dict = {}
|
displayed_content_dict = {}
|
||||||
for h in displayed_head:
|
for f_h, h in head:
|
||||||
displayed_content_dict[h] = content_dict[displayed_table_columns2table_columns[h]]
|
if f_h == '%DIFF' or f_h == 'OR':
|
||||||
|
# for num_str in content_dict[displayed_table_columns2table_columns[h]]:
|
||||||
|
# if n < 0:
|
||||||
|
# return "-" + sci_notation(-n, prec=prec)
|
||||||
|
# sci_notation(eval(num))
|
||||||
|
displayed_content_dict[f_h] = [sci_notation(eval(n)) for n in content_dict[displayed_table_columns2table_columns[h]]]
|
||||||
|
else:
|
||||||
|
displayed_content_dict[f_h] = content_dict[displayed_table_columns2table_columns[h]]
|
||||||
|
|
||||||
return render_template('result.html', head_row=displayed_head, content=displayed_content_dict)
|
return render_template('result.html', head=head, content=displayed_content_dict)
|
||||||
|
|
||||||
@app.route('/stark/', methods=['GET', 'POST'])
|
@app.route('/stark/', methods=['GET', 'POST'])
|
||||||
# @headers({'Cache-Control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'})
|
# @headers({'Cache-Control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'})
|
||||||
|
|
148
messages.pot
148
messages.pot
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2024-07-04 11:51+0200\n"
|
"POT-Creation-Date: 2024-07-23 14:29+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,113 +17,113 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Generated-By: Babel 2.14.0\n"
|
"Generated-By: Babel 2.14.0\n"
|
||||||
|
|
||||||
#: app.py:108
|
#: app.py:144
|
||||||
msgid "Tree"
|
msgid "Tree"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:109
|
#: app.py:145
|
||||||
msgid "Frequency"
|
msgid "Frequency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:110
|
#: app.py:146
|
||||||
msgid "Frequency in B"
|
msgid "Frequency in B"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:111
|
#: app.py:147
|
||||||
msgid "Order"
|
msgid "Order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:112
|
#: app.py:148
|
||||||
msgid "Number of nodes"
|
msgid "Number of nodes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:113
|
#: app.py:149
|
||||||
msgid "Head node"
|
msgid "Head node"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:114
|
#: app.py:150
|
||||||
msgid "Grew-match URL"
|
msgid "Grew-match URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:115
|
#: app.py:151
|
||||||
msgid "Ratio"
|
msgid "Ratio"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:116
|
#: app.py:152
|
||||||
msgid "%DIFF"
|
msgid "%DIFF"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:117
|
#: app.py:153
|
||||||
msgid "OR"
|
msgid "OR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:118
|
#: app.py:154
|
||||||
msgid "BIC"
|
msgid "BIC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:119
|
#: app.py:155
|
||||||
msgid "MI"
|
msgid "MI"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:120
|
#: app.py:156
|
||||||
msgid "logDice"
|
msgid "logDice"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:121
|
#: app.py:157
|
||||||
msgid "t-score"
|
msgid "t-score"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:124
|
#: app.py:160
|
||||||
msgid "Frequency in A"
|
msgid "Frequency in A"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:188 app.py:189
|
#: app.py:231 app.py:232
|
||||||
msgid "Please insert either input url or file, not both of them."
|
msgid "Please insert either input url or file, not both of them."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:199 app.py:280
|
#: app.py:242 app.py:323
|
||||||
msgid "Incorrect URL!"
|
msgid "Incorrect URL!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:201 app.py:202
|
#: app.py:244 app.py:245
|
||||||
msgid "Please insert either input url or provide a file."
|
msgid "Please insert either input url or provide a file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:210
|
#: app.py:253
|
||||||
msgid "Please select at least one node type."
|
msgid "Please select at least one node type."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "Node option"
|
msgid "Node option"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "is not supported. Please enter valid options."
|
msgid "is not supported. Please enter valid options."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:268 app.py:269
|
#: app.py:311 app.py:312
|
||||||
msgid "Please insert either compare url or file, not both of them."
|
msgid "Please insert either compare url or file, not both of them."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:292
|
#: app.py:335
|
||||||
msgid "Please insert an Integer."
|
msgid "Please insert an Integer."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:317
|
#: app.py:360
|
||||||
msgid ""
|
msgid ""
|
||||||
"Processing failed! Please recheck your settings, e.g. input format or "
|
"Processing failed! Please recheck your settings, e.g. input format or "
|
||||||
"head node description."
|
"head node description."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency "
|
msgid "Frequency "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency in A "
|
msgid "Frequency in A "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:327 templates/base.html:20 templates/base.html:22
|
#: app.py:370 templates/base.html:20 templates/base.html:22
|
||||||
#: templates/index.html:8 templates/result.html:15
|
#: templates/index.html:8 templates/result.html:15
|
||||||
msgid "code"
|
msgid "code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -208,19 +208,19 @@ msgstr ""
|
||||||
msgid "Upload a treebank"
|
msgid "Upload a treebank"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:20 templates/index.html:171
|
#: templates/index.html:12 templates/index.html:20 templates/index.html:173
|
||||||
#: templates/index.html:178
|
#: templates/index.html:180
|
||||||
msgid "in CONLL-U format"
|
msgid "in CONLL-U format"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:44 templates/index.html:48
|
#: templates/index.html:12 templates/index.html:46 templates/index.html:50
|
||||||
#: templates/index.html:94 templates/index.html:109 templates/index.html:125
|
#: templates/index.html:96 templates/index.html:111 templates/index.html:127
|
||||||
#: templates/index.html:131 templates/index.html:137 templates/index.html:143
|
#: templates/index.html:133 templates/index.html:139 templates/index.html:145
|
||||||
#: templates/index.html:151 templates/index.html:170 templates/index.html:171
|
#: templates/index.html:153 templates/index.html:172 templates/index.html:173
|
||||||
msgid "Help"
|
msgid "Help"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:15 templates/index.html:174
|
#: templates/index.html:15 templates/index.html:176
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -228,145 +228,141 @@ msgstr ""
|
||||||
msgid "Upload"
|
msgid "Upload"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "Or"
|
msgid "Or"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "insert a URL link to a treebank in CONLL-U format"
|
msgid "insert a URL link to a treebank in CONLL-U format"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:40
|
||||||
msgid "Example"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.html:38
|
|
||||||
msgid "Tree specification"
|
msgid "Tree specification"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "Tree size"
|
msgid "Tree size"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "number of tokens in the tree"
|
msgid "number of tokens in the tree"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "Node type"
|
msgid "Node type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "token characteristics to consider"
|
msgid "token characteristics to consider"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:54
|
#: templates/index.html:56
|
||||||
msgid "No type"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.html:63
|
|
||||||
msgid "Part-of-speech"
|
msgid "Part-of-speech"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:69
|
#: templates/index.html:62
|
||||||
msgid "Lemma"
|
msgid "Lemma"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:75
|
#: templates/index.html:68
|
||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:89
|
#: templates/index.html:74
|
||||||
|
msgid "No type"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.html:91
|
||||||
msgid "Advanced settings"
|
msgid "Advanced settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "Labeled trees"
|
msgid "Labeled trees"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "include names of dependency relations"
|
msgid "include names of dependency relations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:98 templates/index.html:113 templates/index.html:155
|
#: templates/index.html:100 templates/index.html:115 templates/index.html:157
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:101 templates/index.html:116 templates/index.html:158
|
#: templates/index.html:103 templates/index.html:118 templates/index.html:160
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "Fixed order"
|
msgid "Fixed order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "differentiate trees based on surface word order"
|
msgid "differentiate trees based on surface word order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "Head"
|
msgid "Head"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "specify potential restrictions on the head node"
|
msgid "specify potential restrictions on the head node"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "Ignored labels"
|
msgid "Ignored labels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "specify the dependency labels of nodes to be ignored"
|
msgid "specify the dependency labels of nodes to be ignored"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "Query"
|
msgid "Query"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "write a query. Note: Tree size attribute will be ignored!"
|
msgid "write a query. Note: Tree size attribute will be ignored!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "Frequency threshold"
|
msgid "Frequency threshold"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "specify the minimum frequency of a tree in the treebank"
|
msgid "specify the minimum frequency of a tree in the treebank"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "Association measures"
|
msgid "Association measures"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "print MI, logDice and t-score"
|
msgid "print MI, logDice and t-score"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:166
|
#: templates/index.html:168
|
||||||
msgid "Compare treebanks"
|
msgid "Compare treebanks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:170
|
#: templates/index.html:172
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select a reference treebank to identify key phenomena (prints the "
|
"Select a reference treebank to identify key phenomena (prints the "
|
||||||
"%DIFF, BIC and OR keyness scores)."
|
"%DIFF, BIC and OR keyness scores)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:171 templates/index.html:178
|
#: templates/index.html:173 templates/index.html:180
|
||||||
msgid "Upload a compare corpus"
|
msgid "Upload a compare corpus"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:202
|
#: templates/index.html:206
|
||||||
msgid "Submit"
|
msgid "Submit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:210
|
#: templates/index.html:214
|
||||||
msgid "No results"
|
msgid "No results"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:211
|
#: templates/index.html:215
|
||||||
msgid "Processing with your settings didnt produce any results!"
|
msgid "Processing with your settings didnt produce any results!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -33,13 +33,24 @@ function readValuesFromLocalstorage() {
|
||||||
if (inputName === 'frequency_threshold' && text_val === null) {
|
if (inputName === 'frequency_threshold' && text_val === null) {
|
||||||
text_val = '1'
|
text_val = '1'
|
||||||
}
|
}
|
||||||
|
if (inputName === 'display_size' && text_val === null) {
|
||||||
|
text_val = '1-10'
|
||||||
|
}
|
||||||
inputElement.val(text_val);
|
inputElement.val(text_val);
|
||||||
|
|
||||||
} else if (inputType === 'checkbox') {
|
} else if (inputType === 'checkbox') {
|
||||||
|
console.log('aaa')
|
||||||
var check_value = localStorage.getItem(inputName);
|
var check_value = localStorage.getItem(inputName);
|
||||||
if (check_value !== null) {
|
if (check_value !== null) {
|
||||||
inputElement.prop('checked', check_value === 'true');
|
inputElement.prop('checked', check_value === 'true');
|
||||||
}
|
}
|
||||||
|
if (inputName === 'node_type_none' && check_value === null) {
|
||||||
|
$('input.association_measures').prop('disabled', true);
|
||||||
|
$('input.association_measures').prop('checked', false);
|
||||||
|
} else if(inputName === 'node_type_none' && check_value == 'true') {
|
||||||
|
$('input.association_measures').prop('disabled', true);
|
||||||
|
$('input.association_measures').prop('checked', false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,6 +96,23 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function adjustLabelPosition() {
|
||||||
|
$('.dynamic-height').each(function() {
|
||||||
|
var $label = $(this).find('label');
|
||||||
|
var $input = $(this).find('input');
|
||||||
|
|
||||||
|
// Get the original top and left positions
|
||||||
|
var originalTop = parseFloat($label.css('top'));
|
||||||
|
var labelHeight = parseFloat($label.css('height'));
|
||||||
|
var labelLineHeight = parseFloat($label.css('line-height'));
|
||||||
|
var heightDelta = (Math.floor(labelHeight / labelLineHeight) - 1) * labelLineHeight;
|
||||||
|
|
||||||
|
$label.css({
|
||||||
|
top: -heightDelta
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
(function($){
|
(function($){
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
|
@ -143,19 +171,29 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
$('input.node_type').on('change', function(e) {
|
$('input.node_type').on('change', function(e) {
|
||||||
if (this.name == 'node_type_none') {
|
if (this.name == 'node_type_none') {
|
||||||
$('input.node_type').not(this).prop('checked', false);
|
$('input.node_type').not(this).prop('checked', false);
|
||||||
|
$('input.association_measures').prop('disabled', true);
|
||||||
|
$('input.association_measures').prop('checked', false);
|
||||||
} else {
|
} else {
|
||||||
$('input.node_type_none').prop('checked', false);
|
$('input.node_type_none').prop('checked', false);
|
||||||
|
$('input.association_measures').prop('disabled', false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('a.example-input-link').click(function(e) {
|
$('a.example-input-link').click(function(e) {
|
||||||
$('#input_url').val(this.href)
|
$('#input_url').val(this.href)
|
||||||
|
$('label[for="input_url"]').addClass('active')
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
$('a.example-compare-link').click(function(e) {
|
$('a.example-compare-link').click(function(e) {
|
||||||
$('#compare_url').val(this.href)
|
$('#compare_url').val(this.href)
|
||||||
|
$('label[for="compare_url"]').addClass('active')
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Initial adjustment
|
||||||
|
adjustLabelPosition();
|
||||||
|
|
||||||
|
// Adjust on window resize
|
||||||
|
$(window).resize(adjustLabelPosition);
|
||||||
|
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="input_url" name="input_url" type="text" class="validate{% if 'input_url' in validation %} invalid{% endif %}">
|
<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 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>,
|
<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-dev.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_French-GSD/master/fr_gsd-ud-dev.conllu" title="UD_French-GSD"><span class="menu-title sr-only">UD_French-GSD</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>
|
<a class="nav-link example-input-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_Slovenian-SSJ/master/sl_ssj-ud-dev.conllu" title="UD_Slovenian-SSJ"><span class="menu-title sr-only">UD_Slovenian-SSJ</span></a>)</label>
|
||||||
{% if 'input_url' in validation %}
|
{% if 'input_url' in validation %}
|
||||||
<span class="helper-text" data-error="{{validation['input_url']}}"></span>
|
<span class="helper-text" data-error="{{validation['input_url']}}"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -40,25 +40,9 @@
|
||||||
<h6>{{ _('Tree specification') }}</h6>
|
<h6>{{ _('Tree specification') }}</h6>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="row">
|
|
||||||
<div class="input-field col s12">
|
|
||||||
<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>
|
<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="row">
|
||||||
<div class="input-field">
|
<div class="input-field">
|
||||||
<div class="col s3">
|
|
||||||
<label>
|
|
||||||
<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 s3">
|
<div class="col s3">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" class="node_type filled-in {% if 'node_type' in validation %} invalid{% endif %}" name="node_type_upos" />
|
<input type="checkbox" class="node_type filled-in {% if 'node_type' in validation %} invalid{% endif %}" name="node_type_upos" />
|
||||||
|
@ -77,6 +61,15 @@
|
||||||
<span>{{ _('Form') }}</span>
|
<span>{{ _('Form') }}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col s3">
|
||||||
|
<label>
|
||||||
|
<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>
|
||||||
<!-- Shared error message for all checkboxes -->
|
<!-- Shared error message for all checkboxes -->
|
||||||
{% if 'node_type' in validation %}
|
{% if 'node_type' in validation %}
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
|
@ -85,12 +78,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<h6><a class="waves-effect waves-light inline expand" id="advanced-tree-expand"><i class="material-icons em-1">add</i> {{ _('Advanced settings') }}</a></h6>
|
|
||||||
<div class="card" id="advanced-tree">
|
|
||||||
<div class="card-content">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<label><b>{{ _('Labeled trees') }}</b>: {{ _('include names of dependency relations') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--labeled" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
<label><b>{{ _('Labeled trees') }}</b>: {{ _('include names of dependency relations') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--labeled" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||||
|
@ -121,26 +108,38 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<h6><a class="waves-effect waves-light inline expand" id="advanced-tree-expand"><i class="material-icons em-1">add</i> {{ _('Advanced settings') }}</a></h6>
|
||||||
|
<div class="card" id="advanced-tree">
|
||||||
|
<div class="card-content">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="root_restriction" name="root_restriction" type="text" class="validate">
|
<input id="root_restriction" name="root_restriction" type="text" class="validate">
|
||||||
<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>
|
<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>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="ignored_labels" name="ignored_labels" type="text" class="validate">
|
<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>
|
<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>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
|
<input id="display_size" name="display_size" type="text" class="validate" value="1-10">
|
||||||
|
<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>
|
||||||
|
<div class="row">
|
||||||
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="query" name="query" type="text" class="validate">
|
<input id="query" name="query" type="text" class="validate">
|
||||||
<label for="query"><b>{{ _('Query') }}</b>: {{ _('write a query. Note: Tree size attribute will be ignored!') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--query" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
<label for="query"><b>{{ _('Query') }}</b>: {{ _('write a query. Note: Tree size attribute will be ignored!') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--query" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="frequency_threshold" name="frequency_threshold" type="text" class="validate {% if 'frequency_threshold' in validation %} invalid{% endif %}" value="1">
|
<input id="frequency_threshold" name="frequency_threshold" type="text" class="validate {% if 'frequency_threshold' in validation %} invalid{% endif %}" value="1">
|
||||||
<label for="frequency_threshold"><b>{{ _('Frequency threshold') }}</b>: {{ _('specify the minimum frequency of a tree in the treebank') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--frequency_threshold" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
<label for="frequency_threshold"><b>{{ _('Frequency threshold') }}</b>: {{ _('specify the minimum frequency of a tree in the treebank') }} (<a class="nav-link" href="https://github.com/clarinsi/STARK/blob/master/settings.md#--frequency_threshold" target="_blank" title="{{ _('Help') }}"><span class="menu-title sr-only">{{ _('Help') }}</span></a>)</label>
|
||||||
{% if 'frequency_threshold' in validation %}
|
{% if 'frequency_threshold' in validation %}
|
||||||
|
@ -155,7 +154,7 @@
|
||||||
<div class="switch">
|
<div class="switch">
|
||||||
<label>
|
<label>
|
||||||
{{ _('No') }}
|
{{ _('No') }}
|
||||||
<input type="checkbox" name="association_measures">
|
<input class="association_measures" type="checkbox" name="association_measures">
|
||||||
<span class="lever"></span>
|
<span class="lever"></span>
|
||||||
{{ _('Yes') }}
|
{{ _('Yes') }}
|
||||||
</label>
|
</label>
|
||||||
|
@ -185,11 +184,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12 dynamic-height">
|
||||||
<input id="compare_url" name="compare_url" type="text" class="validate{% if 'compare_url' in validation %} invalid{% endif %}">
|
<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 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>,
|
<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-dev.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_French-GSD/master/fr_gsd-ud-dev.conllu" title="UD_French-GSD"><span class="menu-title sr-only">UD_French-GSD</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>
|
<a class="nav-link example-compare-link" target="_blank" href="https://raw.githubusercontent.com/UniversalDependencies/UD_Slovenian-SSJ/master/sl_ssj-ud-dev.conllu" title="UD_Slovenian-SSJ"><span class="menu-title sr-only">UD_Slovenian-SSJ</span></a>)</label>
|
||||||
{% if 'compare_url' in validation %}
|
{% if 'compare_url' in validation %}
|
||||||
<span class="helper-text" data-error="{{validation['compare_url']}}"></span>
|
<span class="helper-text" data-error="{{validation['compare_url']}}"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% for head in head_row %}
|
{% for h, h_t in head %}
|
||||||
{% if not head == 'Grew-match URL' %}
|
{% if not h == 'Grew-match URL' %}
|
||||||
<th><span>{{ head }} </span><span class="th-desc">▾</span><span class="th-asc">▴</span></th>
|
<th><span>{{ h_t }} </span><span class="th-desc">▾</span><span class="th-asc">▴</span></th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2024-07-04 11:51+0200\n"
|
"POT-Creation-Date: 2024-07-23 14:29+0200\n"
|
||||||
"PO-Revision-Date: 2024-02-14 14:36+0100\n"
|
"PO-Revision-Date: 2024-02-14 14:36+0100\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: en <LL@li.org>\n"
|
"Language-Team: en <LL@li.org>\n"
|
||||||
|
@ -18,99 +18,99 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"Generated-By: Babel 2.14.0\n"
|
"Generated-By: Babel 2.14.0\n"
|
||||||
|
|
||||||
#: app.py:108
|
#: app.py:144
|
||||||
msgid "Tree"
|
msgid "Tree"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:109
|
#: app.py:145
|
||||||
msgid "Frequency"
|
msgid "Frequency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:110
|
#: app.py:146
|
||||||
msgid "Frequency in B"
|
msgid "Frequency in B"
|
||||||
msgstr "Frequency-B"
|
msgstr "Frequency-B"
|
||||||
|
|
||||||
#: app.py:111
|
#: app.py:147
|
||||||
msgid "Order"
|
msgid "Order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:112
|
#: app.py:148
|
||||||
msgid "Number of nodes"
|
msgid "Number of nodes"
|
||||||
msgstr "Node count"
|
msgstr "Node count"
|
||||||
|
|
||||||
#: app.py:113
|
#: app.py:149
|
||||||
msgid "Head node"
|
msgid "Head node"
|
||||||
msgstr "Head"
|
msgstr "Head"
|
||||||
|
|
||||||
#: app.py:114
|
#: app.py:150
|
||||||
msgid "Grew-match URL"
|
msgid "Grew-match URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:115
|
#: app.py:151
|
||||||
msgid "Ratio"
|
msgid "Ratio"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:116
|
#: app.py:152
|
||||||
msgid "%DIFF"
|
msgid "%DIFF"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:117
|
#: app.py:153
|
||||||
msgid "OR"
|
msgid "OR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:118
|
#: app.py:154
|
||||||
msgid "BIC"
|
msgid "BIC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:119
|
#: app.py:155
|
||||||
msgid "MI"
|
msgid "MI"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:120
|
#: app.py:156
|
||||||
msgid "logDice"
|
msgid "logDice"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:121
|
#: app.py:157
|
||||||
msgid "t-score"
|
msgid "t-score"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:124
|
#: app.py:160
|
||||||
msgid "Frequency in A"
|
msgid "Frequency in A"
|
||||||
msgstr "Frequency-A"
|
msgstr "Frequency-A"
|
||||||
|
|
||||||
#: app.py:188 app.py:189
|
#: app.py:231 app.py:232
|
||||||
msgid "Please insert either input url or file, not both of them."
|
msgid "Please insert either input url or file, not both of them."
|
||||||
msgstr "Please insert either a file or a URL link, not both of them."
|
msgstr "Please insert either a file or a URL link, not both of them."
|
||||||
|
|
||||||
#: app.py:199 app.py:280
|
#: app.py:242 app.py:323
|
||||||
msgid "Incorrect URL!"
|
msgid "Incorrect URL!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:201 app.py:202
|
#: app.py:244 app.py:245
|
||||||
msgid "Please insert either input url or provide a file."
|
msgid "Please insert either input url or provide a file."
|
||||||
msgstr "Please insert either a file or a URL link."
|
msgstr "Please insert either a file or a URL link."
|
||||||
|
|
||||||
#: app.py:210
|
#: app.py:253
|
||||||
msgid "Please select at least one node type."
|
msgid "Please select at least one node type."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "Node option"
|
msgid "Node option"
|
||||||
msgstr "Node option"
|
msgstr "Node option"
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "is not supported. Please enter valid options."
|
msgid "is not supported. Please enter valid options."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:268 app.py:269
|
#: app.py:311 app.py:312
|
||||||
msgid "Please insert either compare url or file, not both of them."
|
msgid "Please insert either compare url or file, not both of them."
|
||||||
msgstr "Please insert either a file or a URL link, not both of them."
|
msgstr "Please insert either a file or a URL link, not both of them."
|
||||||
|
|
||||||
#: app.py:292
|
#: app.py:335
|
||||||
msgid "Please insert an Integer."
|
msgid "Please insert an Integer."
|
||||||
msgstr "Please insert an integer number."
|
msgstr "Please insert an integer number."
|
||||||
|
|
||||||
#: app.py:317
|
#: app.py:360
|
||||||
msgid ""
|
msgid ""
|
||||||
"Processing failed! Please recheck your settings, e.g. input format or head "
|
"Processing failed! Please recheck your settings, e.g. input format or head "
|
||||||
"node description."
|
"node description."
|
||||||
|
@ -118,15 +118,15 @@ msgstr ""
|
||||||
"Processing failed! Please recheck your settings, e.g. input format or query "
|
"Processing failed! Please recheck your settings, e.g. input format or query "
|
||||||
"description."
|
"description."
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency "
|
msgid "Frequency "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency in A "
|
msgid "Frequency in A "
|
||||||
msgstr "Frequency-A "
|
msgstr "Frequency-A "
|
||||||
|
|
||||||
#: app.py:327 templates/base.html:20 templates/base.html:22
|
#: app.py:370 templates/base.html:20 templates/base.html:22
|
||||||
#: templates/index.html:8 templates/result.html:15
|
#: templates/index.html:8 templates/result.html:15
|
||||||
msgid "code"
|
msgid "code"
|
||||||
msgstr "en"
|
msgstr "en"
|
||||||
|
@ -234,19 +234,19 @@ msgstr "Input treebank"
|
||||||
msgid "Upload a treebank"
|
msgid "Upload a treebank"
|
||||||
msgstr "Upload a treebank"
|
msgstr "Upload a treebank"
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:20 templates/index.html:171
|
#: templates/index.html:12 templates/index.html:20 templates/index.html:173
|
||||||
#: templates/index.html:178
|
#: templates/index.html:180
|
||||||
msgid "in CONLL-U format"
|
msgid "in CONLL-U format"
|
||||||
msgstr "in CONLL-U format"
|
msgstr "in CONLL-U format"
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:44 templates/index.html:48
|
#: templates/index.html:12 templates/index.html:46 templates/index.html:50
|
||||||
#: templates/index.html:94 templates/index.html:109 templates/index.html:125
|
#: templates/index.html:96 templates/index.html:111 templates/index.html:127
|
||||||
#: templates/index.html:131 templates/index.html:137 templates/index.html:143
|
#: templates/index.html:133 templates/index.html:139 templates/index.html:145
|
||||||
#: templates/index.html:151 templates/index.html:170 templates/index.html:171
|
#: templates/index.html:153 templates/index.html:172 templates/index.html:173
|
||||||
msgid "Help"
|
msgid "Help"
|
||||||
msgstr "Help"
|
msgstr "Help"
|
||||||
|
|
||||||
#: templates/index.html:15 templates/index.html:174
|
#: templates/index.html:15 templates/index.html:176
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Browse"
|
msgstr "Browse"
|
||||||
|
|
||||||
|
@ -254,147 +254,143 @@ msgstr "Browse"
|
||||||
msgid "Upload"
|
msgid "Upload"
|
||||||
msgstr "Upload"
|
msgstr "Upload"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "Or"
|
msgid "Or"
|
||||||
msgstr "Or"
|
msgstr "Or"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "insert a URL link to a treebank in CONLL-U format"
|
msgid "insert a URL link to a treebank in CONLL-U format"
|
||||||
msgstr "insert a URL link to a treebank in CONLL-U format"
|
msgstr "insert a URL link to a treebank in CONLL-U format (examples:"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:40
|
||||||
msgid "Example"
|
|
||||||
msgstr "Example"
|
|
||||||
|
|
||||||
#: templates/index.html:38
|
|
||||||
msgid "Tree specification"
|
msgid "Tree specification"
|
||||||
msgstr "Tree specification"
|
msgstr "Tree specification"
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "Tree size"
|
msgid "Tree size"
|
||||||
msgstr "Tree size"
|
msgstr "Tree size"
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "number of tokens in the tree"
|
msgid "number of tokens in the tree"
|
||||||
msgstr "number of tokens (words) in the tree"
|
msgstr "number of tokens (words) in the tree"
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "Node type"
|
msgid "Node type"
|
||||||
msgstr "Node type"
|
msgstr "Node type"
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "token characteristics to consider"
|
msgid "token characteristics to consider"
|
||||||
msgstr "token characteristics to consider"
|
msgstr "token characteristics to consider"
|
||||||
|
|
||||||
#: templates/index.html:54
|
#: templates/index.html:56
|
||||||
msgid "No type"
|
|
||||||
msgstr "No type"
|
|
||||||
|
|
||||||
#: templates/index.html:63
|
|
||||||
msgid "Part-of-speech"
|
msgid "Part-of-speech"
|
||||||
msgstr "Part-of-speech"
|
msgstr "Part-of-speech"
|
||||||
|
|
||||||
#: templates/index.html:69
|
#: templates/index.html:62
|
||||||
msgid "Lemma"
|
msgid "Lemma"
|
||||||
msgstr "Lemma"
|
msgstr "Lemma"
|
||||||
|
|
||||||
#: templates/index.html:75
|
#: templates/index.html:68
|
||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Form"
|
msgstr "Form"
|
||||||
|
|
||||||
#: templates/index.html:89
|
#: templates/index.html:74
|
||||||
|
msgid "No type"
|
||||||
|
msgstr "No type"
|
||||||
|
|
||||||
|
#: templates/index.html:91
|
||||||
msgid "Advanced settings"
|
msgid "Advanced settings"
|
||||||
msgstr "Advanced settings"
|
msgstr "Advanced settings"
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "Labeled trees"
|
msgid "Labeled trees"
|
||||||
msgstr "Labeled trees"
|
msgstr "Labeled trees"
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "include names of dependency relations"
|
msgid "include names of dependency relations"
|
||||||
msgstr "include names of dependency relations"
|
msgstr "include names of dependency relations"
|
||||||
|
|
||||||
#: templates/index.html:98 templates/index.html:113 templates/index.html:155
|
#: templates/index.html:100 templates/index.html:115 templates/index.html:157
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "No"
|
msgstr "No"
|
||||||
|
|
||||||
#: templates/index.html:101 templates/index.html:116 templates/index.html:158
|
#: templates/index.html:103 templates/index.html:118 templates/index.html:160
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Yes"
|
msgstr "Yes"
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "Fixed order"
|
msgid "Fixed order"
|
||||||
msgstr "Fixed order"
|
msgstr "Fixed order"
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "differentiate trees based on surface word order"
|
msgid "differentiate trees based on surface word order"
|
||||||
msgstr "differentiate trees based on surface word order"
|
msgstr "differentiate trees based on surface word order"
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "Head"
|
msgid "Head"
|
||||||
msgstr "Head"
|
msgstr "Head"
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "specify potential restrictions on the head node"
|
msgid "specify potential restrictions on the head node"
|
||||||
msgstr "specify potential restrictions on the head node"
|
msgstr "specify potential restrictions on the head node"
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "Ignored labels"
|
msgid "Ignored labels"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "specify the dependency labels of nodes to be ignored"
|
msgid "specify the dependency labels of nodes to be ignored"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "Query"
|
msgid "Query"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "write a query. Note: Tree size attribute will be ignored!"
|
msgid "write a query. Note: Tree size attribute will be ignored!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "Frequency threshold"
|
msgid "Frequency threshold"
|
||||||
msgstr "Frequency threshold"
|
msgstr "Frequency threshold"
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "specify the minimum frequency of a tree in the treebank"
|
msgid "specify the minimum frequency of a tree in the treebank"
|
||||||
msgstr "specify the minimum frequency of a tree in the treebank"
|
msgstr "specify the minimum frequency of a tree in the treebank"
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "Association measures"
|
msgid "Association measures"
|
||||||
msgstr "Association measures"
|
msgstr "Association measures"
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "print MI, logDice and t-score"
|
msgid "print MI, logDice and t-score"
|
||||||
msgstr "print MI, logDice and t-score"
|
msgstr "print MI, logDice and t-score"
|
||||||
|
|
||||||
#: templates/index.html:166
|
#: templates/index.html:168
|
||||||
msgid "Compare treebanks"
|
msgid "Compare treebanks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:170
|
#: templates/index.html:172
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select a reference treebank to identify key phenomena (prints the frequency ration and the %DIFF, "
|
"Select a reference treebank to identify key phenomena (prints the %DIFF, "
|
||||||
"BIC and OR keyness scores)."
|
"BIC and OR keyness scores)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Select a reference treebank to identify key phenomena (prints the %DIFF, "
|
"Select a reference treebank to identify key phenomena (prints the frequency "
|
||||||
"BIC and Odds Ratio scores)."
|
"ration and the %DIFF, BIC and OR keyness scores)."
|
||||||
|
|
||||||
#: templates/index.html:171 templates/index.html:178
|
#: templates/index.html:173 templates/index.html:180
|
||||||
msgid "Upload a compare corpus"
|
msgid "Upload a compare corpus"
|
||||||
msgstr "Upload a reference treebank"
|
msgstr "Upload a reference treebank"
|
||||||
|
|
||||||
#: templates/index.html:202
|
#: templates/index.html:206
|
||||||
msgid "Submit"
|
msgid "Submit"
|
||||||
msgstr "Get trees"
|
msgstr "Get trees"
|
||||||
|
|
||||||
#: templates/index.html:210
|
#: templates/index.html:214
|
||||||
msgid "No results"
|
msgid "No results"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/index.html:211
|
#: templates/index.html:215
|
||||||
msgid "Processing with your settings didnt produce any results!"
|
msgid "Processing with your settings didnt produce any results!"
|
||||||
msgstr "Processing with your settings did not produce any results."
|
msgstr "Processing with your settings did not produce any results."
|
||||||
|
|
||||||
|
@ -410,6 +406,9 @@ msgstr "Back to selected settings"
|
||||||
msgid "Download complete results"
|
msgid "Download complete results"
|
||||||
msgstr "Download complete results"
|
msgstr "Download complete results"
|
||||||
|
|
||||||
|
#~ msgid "Example"
|
||||||
|
#~ msgstr "Example"
|
||||||
|
|
||||||
#~ msgid "intro_description"
|
#~ msgid "intro_description"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
#~ "Welcome to the online demo interface for STARK - a highly-customizible "
|
#~ "Welcome to the online demo interface for STARK - a highly-customizible "
|
||||||
|
|
Binary file not shown.
|
@ -6,7 +6,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2024-07-04 11:51+0200\n"
|
"POT-Creation-Date: 2024-07-23 14:29+0200\n"
|
||||||
"PO-Revision-Date: 2024-02-14 14:36+0100\n"
|
"PO-Revision-Date: 2024-02-14 14:36+0100\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: sl <LL@li.org>\n"
|
"Language-Team: sl <LL@li.org>\n"
|
||||||
|
@ -18,99 +18,99 @@ msgstr ""
|
||||||
"n%100==4 ? 2 : 3);\n"
|
"n%100==4 ? 2 : 3);\n"
|
||||||
"Generated-By: Babel 2.14.0\n"
|
"Generated-By: Babel 2.14.0\n"
|
||||||
|
|
||||||
#: app.py:108
|
#: app.py:144
|
||||||
msgid "Tree"
|
msgid "Tree"
|
||||||
msgstr "Drevo"
|
msgstr "Drevo"
|
||||||
|
|
||||||
#: app.py:109
|
#: app.py:145
|
||||||
msgid "Frequency"
|
msgid "Frequency"
|
||||||
msgstr "Pogostost"
|
msgstr "Pogostost"
|
||||||
|
|
||||||
#: app.py:110
|
#: app.py:146
|
||||||
msgid "Frequency in B"
|
msgid "Frequency in B"
|
||||||
msgstr "Pogostost v B"
|
msgstr "Pogostost v B"
|
||||||
|
|
||||||
#: app.py:111
|
#: app.py:147
|
||||||
msgid "Order"
|
msgid "Order"
|
||||||
msgstr "Besedni red"
|
msgstr "Besedni red"
|
||||||
|
|
||||||
#: app.py:112
|
#: app.py:148
|
||||||
msgid "Number of nodes"
|
msgid "Number of nodes"
|
||||||
msgstr "Št. vozlišč"
|
msgstr "Št. vozlišč"
|
||||||
|
|
||||||
#: app.py:113
|
#: app.py:149
|
||||||
msgid "Head node"
|
msgid "Head node"
|
||||||
msgstr "Jedro"
|
msgstr "Jedro"
|
||||||
|
|
||||||
#: app.py:114
|
#: app.py:150
|
||||||
msgid "Grew-match URL"
|
msgid "Grew-match URL"
|
||||||
msgstr "Povezava na Grew-match"
|
msgstr "Povezava na Grew-match"
|
||||||
|
|
||||||
#: app.py:115
|
#: app.py:151
|
||||||
msgid "Ratio"
|
msgid "Ratio"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:116
|
#: app.py:152
|
||||||
msgid "%DIFF"
|
msgid "%DIFF"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:117
|
#: app.py:153
|
||||||
msgid "OR"
|
msgid "OR"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:118
|
#: app.py:154
|
||||||
msgid "BIC"
|
msgid "BIC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: app.py:119
|
#: app.py:155
|
||||||
msgid "MI"
|
msgid "MI"
|
||||||
msgstr "MI"
|
msgstr "MI"
|
||||||
|
|
||||||
#: app.py:120
|
#: app.py:156
|
||||||
msgid "logDice"
|
msgid "logDice"
|
||||||
msgstr "logDice"
|
msgstr "logDice"
|
||||||
|
|
||||||
#: app.py:121
|
#: app.py:157
|
||||||
msgid "t-score"
|
msgid "t-score"
|
||||||
msgstr "t-test"
|
msgstr "t-test"
|
||||||
|
|
||||||
#: app.py:124
|
#: app.py:160
|
||||||
msgid "Frequency in A"
|
msgid "Frequency in A"
|
||||||
msgstr "Pogostost v A"
|
msgstr "Pogostost v A"
|
||||||
|
|
||||||
#: app.py:188 app.py:189
|
#: app.py:231 app.py:232
|
||||||
msgid "Please insert either input url or file, not both of them."
|
msgid "Please insert either input url or file, not both of them."
|
||||||
msgstr "Naložite datoteko ali vnesite povezavo URL, ne pa obojega."
|
msgstr "Naložite datoteko ali vnesite povezavo URL, ne pa obojega."
|
||||||
|
|
||||||
#: app.py:199 app.py:280
|
#: app.py:242 app.py:323
|
||||||
msgid "Incorrect URL!"
|
msgid "Incorrect URL!"
|
||||||
msgstr "URL ni pravilne oblike."
|
msgstr "URL ni pravilne oblike."
|
||||||
|
|
||||||
#: app.py:201 app.py:202
|
#: app.py:244 app.py:245
|
||||||
msgid "Please insert either input url or provide a file."
|
msgid "Please insert either input url or provide a file."
|
||||||
msgstr "Naložite datoteko ali vnesite povezavo URL."
|
msgstr "Naložite datoteko ali vnesite povezavo URL."
|
||||||
|
|
||||||
#: app.py:210
|
#: app.py:253
|
||||||
msgid "Please select at least one node type."
|
msgid "Please select at least one node type."
|
||||||
msgstr "Izberite vsaj eno možnost (npr. besedno vrsto)."
|
msgstr "Izberite vsaj eno možnost (npr. besedno vrsto)."
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "Node option"
|
msgid "Node option"
|
||||||
msgstr "Vrsta vozlišč"
|
msgstr "Vrsta vozlišč"
|
||||||
|
|
||||||
#: app.py:215
|
#: app.py:258
|
||||||
msgid "is not supported. Please enter valid options."
|
msgid "is not supported. Please enter valid options."
|
||||||
msgstr "vmesnik ne podpira. Vnesite eno izmed veljavnih možnosti."
|
msgstr "vmesnik ne podpira. Vnesite eno izmed veljavnih možnosti."
|
||||||
|
|
||||||
#: app.py:268 app.py:269
|
#: app.py:311 app.py:312
|
||||||
msgid "Please insert either compare url or file, not both of them."
|
msgid "Please insert either compare url or file, not both of them."
|
||||||
msgstr "Naložite datoteko ali vnesite povezavo URL, ne pa obojega."
|
msgstr "Naložite datoteko ali vnesite povezavo URL, ne pa obojega."
|
||||||
|
|
||||||
#: app.py:292
|
#: app.py:335
|
||||||
msgid "Please insert an Integer."
|
msgid "Please insert an Integer."
|
||||||
msgstr "Vnesite celo število (npr. 3)."
|
msgstr "Vnesite celo število (npr. 3)."
|
||||||
|
|
||||||
#: app.py:317
|
#: app.py:360
|
||||||
msgid ""
|
msgid ""
|
||||||
"Processing failed! Please recheck your settings, e.g. input format or head "
|
"Processing failed! Please recheck your settings, e.g. input format or head "
|
||||||
"node description."
|
"node description."
|
||||||
|
@ -118,15 +118,15 @@ msgstr ""
|
||||||
"Procesiranje ni bilo uspešno! Preverite nastavitve, kot sta format ali opis "
|
"Procesiranje ni bilo uspešno! Preverite nastavitve, kot sta format ali opis "
|
||||||
"lastnosti jedra."
|
"lastnosti jedra."
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency "
|
msgid "Frequency "
|
||||||
msgstr "Pogostost "
|
msgstr "Pogostost "
|
||||||
|
|
||||||
#: app.py:326
|
#: app.py:369
|
||||||
msgid "Frequency in A "
|
msgid "Frequency in A "
|
||||||
msgstr "Pogostost v A "
|
msgstr "Pogostost v A "
|
||||||
|
|
||||||
#: app.py:327 templates/base.html:20 templates/base.html:22
|
#: app.py:370 templates/base.html:20 templates/base.html:22
|
||||||
#: templates/index.html:8 templates/result.html:15
|
#: templates/index.html:8 templates/result.html:15
|
||||||
msgid "code"
|
msgid "code"
|
||||||
msgstr "sl"
|
msgstr "sl"
|
||||||
|
@ -235,19 +235,19 @@ msgstr "Vhodni podatki"
|
||||||
msgid "Upload a treebank"
|
msgid "Upload a treebank"
|
||||||
msgstr "Naložite korpus"
|
msgstr "Naložite korpus"
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:20 templates/index.html:171
|
#: templates/index.html:12 templates/index.html:20 templates/index.html:173
|
||||||
#: templates/index.html:178
|
#: templates/index.html:180
|
||||||
msgid "in CONLL-U format"
|
msgid "in CONLL-U format"
|
||||||
msgstr "v formatu CONLL-U"
|
msgstr "v formatu CONLL-U"
|
||||||
|
|
||||||
#: templates/index.html:12 templates/index.html:44 templates/index.html:48
|
#: templates/index.html:12 templates/index.html:46 templates/index.html:50
|
||||||
#: templates/index.html:94 templates/index.html:109 templates/index.html:125
|
#: templates/index.html:96 templates/index.html:111 templates/index.html:127
|
||||||
#: templates/index.html:131 templates/index.html:137 templates/index.html:143
|
#: templates/index.html:133 templates/index.html:139 templates/index.html:145
|
||||||
#: templates/index.html:151 templates/index.html:170 templates/index.html:171
|
#: templates/index.html:153 templates/index.html:172 templates/index.html:173
|
||||||
msgid "Help"
|
msgid "Help"
|
||||||
msgstr "pomoč"
|
msgstr "pomoč"
|
||||||
|
|
||||||
#: templates/index.html:15 templates/index.html:174
|
#: templates/index.html:15 templates/index.html:176
|
||||||
msgid "Browse"
|
msgid "Browse"
|
||||||
msgstr "Izberi"
|
msgstr "Izberi"
|
||||||
|
|
||||||
|
@ -255,149 +255,143 @@ msgstr "Izberi"
|
||||||
msgid "Upload"
|
msgid "Upload"
|
||||||
msgstr "Naloži datoteko"
|
msgstr "Naloži datoteko"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "Or"
|
msgid "Or"
|
||||||
msgstr "Ali"
|
msgstr "Ali"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:29 templates/index.html:190
|
||||||
msgid "insert a URL link to a treebank in CONLL-U format"
|
msgid "insert a URL link to a treebank in CONLL-U format"
|
||||||
msgstr "vnesite povezavo URL do korpusa v formatu CONLL-U"
|
msgstr "vnesite povezavo URL do korpusa v formatu CONLL-U (primeri:"
|
||||||
|
|
||||||
#: templates/index.html:29 templates/index.html:188
|
#: templates/index.html:40
|
||||||
msgid "Example"
|
|
||||||
msgstr "primer"
|
|
||||||
|
|
||||||
#: templates/index.html:38
|
|
||||||
msgid "Tree specification"
|
msgid "Tree specification"
|
||||||
msgstr "Opredelitev dreves"
|
msgstr "Opredelitev dreves"
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "Tree size"
|
msgid "Tree size"
|
||||||
msgstr "Velikost drevesa"
|
msgstr "Velikost drevesa"
|
||||||
|
|
||||||
#: templates/index.html:44
|
#: templates/index.html:46
|
||||||
msgid "number of tokens in the tree"
|
msgid "number of tokens in the tree"
|
||||||
msgstr "število vozlišč (besed) v drevesu"
|
msgstr "število vozlišč (besed) v drevesu"
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "Node type"
|
msgid "Node type"
|
||||||
msgstr "Vrsta vozlišč"
|
msgstr "Vrsta vozlišč"
|
||||||
|
|
||||||
#: templates/index.html:48
|
#: templates/index.html:50
|
||||||
msgid "token characteristics to consider"
|
msgid "token characteristics to consider"
|
||||||
msgstr "upoštevane lastnosti besed"
|
msgstr "upoštevane lastnosti besed"
|
||||||
|
|
||||||
#: templates/index.html:54
|
#: templates/index.html:56
|
||||||
msgid "No type"
|
|
||||||
msgstr "Brez vrste"
|
|
||||||
|
|
||||||
#: templates/index.html:63
|
|
||||||
msgid "Part-of-speech"
|
msgid "Part-of-speech"
|
||||||
msgstr "Besedna vrsta"
|
msgstr "Besedna vrsta"
|
||||||
|
|
||||||
#: templates/index.html:69
|
#: templates/index.html:62
|
||||||
msgid "Lemma"
|
msgid "Lemma"
|
||||||
msgstr "Lema"
|
msgstr "Lema"
|
||||||
|
|
||||||
#: templates/index.html:75
|
#: templates/index.html:68
|
||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Oblika"
|
msgstr "Oblika"
|
||||||
|
|
||||||
#: templates/index.html:89
|
#: templates/index.html:74
|
||||||
|
msgid "No type"
|
||||||
|
msgstr "Brez vrste"
|
||||||
|
|
||||||
|
#: templates/index.html:91
|
||||||
msgid "Advanced settings"
|
msgid "Advanced settings"
|
||||||
msgstr "Napredne nastavitve"
|
msgstr "Napredne nastavitve"
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "Labeled trees"
|
msgid "Labeled trees"
|
||||||
msgstr "Označena drevesa"
|
msgstr "Označena drevesa"
|
||||||
|
|
||||||
#: templates/index.html:94
|
#: templates/index.html:96
|
||||||
msgid "include names of dependency relations"
|
msgid "include names of dependency relations"
|
||||||
msgstr "izpis vrste relacij med besedami"
|
msgstr "izpis vrste relacij med besedami"
|
||||||
|
|
||||||
#: templates/index.html:98 templates/index.html:113 templates/index.html:155
|
#: templates/index.html:100 templates/index.html:115 templates/index.html:157
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "Ne"
|
msgstr "Ne"
|
||||||
|
|
||||||
#: templates/index.html:101 templates/index.html:116 templates/index.html:158
|
#: templates/index.html:103 templates/index.html:118 templates/index.html:160
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "Da"
|
msgstr "Da"
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "Fixed order"
|
msgid "Fixed order"
|
||||||
msgstr "Nespremenljiv besedni red"
|
msgstr "Nespremenljiv besedni red"
|
||||||
|
|
||||||
#: templates/index.html:109
|
#: templates/index.html:111
|
||||||
msgid "differentiate trees based on surface word order"
|
msgid "differentiate trees based on surface word order"
|
||||||
msgstr "ločevanje dreves glede na zaporedje besed v besedilu"
|
msgstr "ločevanje dreves glede na zaporedje besed v besedilu"
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "Head"
|
msgid "Head"
|
||||||
msgstr "Jedro"
|
msgstr "Jedro"
|
||||||
|
|
||||||
#: templates/index.html:125
|
#: templates/index.html:127
|
||||||
msgid "specify potential restrictions on the head node"
|
msgid "specify potential restrictions on the head node"
|
||||||
msgstr "izpis dreves z vnaprej določenimi lastnostmi jedrne besede v drevesu"
|
msgstr "izpis dreves z vnaprej določenimi lastnostmi jedrne besede v drevesu"
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "Ignored labels"
|
msgid "Ignored labels"
|
||||||
msgstr "Nerelevantne relacije"
|
msgstr "Nerelevantne relacije"
|
||||||
|
|
||||||
#: templates/index.html:131
|
#: templates/index.html:133
|
||||||
msgid "specify the dependency labels of nodes to be ignored"
|
msgid "specify the dependency labels of nodes to be ignored"
|
||||||
msgstr "seznam skladenjskih oznak vozlišč, ki se lahko pojavijo v drevesu, a niso prikazane v izpisu"
|
msgstr "relacije vozlišč, ki naj se ne prikazujejo v izpisu"
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "Query"
|
msgid "Query"
|
||||||
msgstr "Iskalni pogoj"
|
msgstr "Iskalni pogoj"
|
||||||
|
|
||||||
#: templates/index.html:137
|
#: templates/index.html:139
|
||||||
msgid "write a query. Note: Tree size attribute will be ignored!"
|
msgid "write a query. Note: Tree size attribute will be ignored!"
|
||||||
msgstr ""
|
msgstr "izpis dreves z vnaprej določeno strukturo"
|
||||||
"izpis dreves z vnaprej določeno strukturo (nastavitev velikosti drevesa se s "
|
|
||||||
"tem ne upošteva.) "
|
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "Frequency threshold"
|
msgid "Frequency threshold"
|
||||||
msgstr "Frekvenčni prag"
|
msgstr "Frekvenčni prag"
|
||||||
|
|
||||||
#: templates/index.html:143
|
#: templates/index.html:145
|
||||||
msgid "specify the minimum frequency of a tree in the treebank"
|
msgid "specify the minimum frequency of a tree in the treebank"
|
||||||
msgstr "najmanjše število pojavitev drevesa v korpusu"
|
msgstr "najmanjše število pojavitev drevesa v korpusu"
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "Association measures"
|
msgid "Association measures"
|
||||||
msgstr "Mere povezovalnosti"
|
msgstr "Mere povezovalnosti"
|
||||||
|
|
||||||
#: templates/index.html:151
|
#: templates/index.html:153
|
||||||
msgid "print MI, logDice and t-score"
|
msgid "print MI, logDice and t-score"
|
||||||
msgstr "izračun vrednosti MI, logDice in t-test"
|
msgstr "izračun vrednosti MI, logDice in t-test"
|
||||||
|
|
||||||
#: templates/index.html:166
|
#: templates/index.html:168
|
||||||
msgid "Compare treebanks"
|
msgid "Compare treebanks"
|
||||||
msgstr "Primerjava korpusov"
|
msgstr "Primerjava korpusov"
|
||||||
|
|
||||||
#: templates/index.html:170
|
#: templates/index.html:172
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select a reference treebank to identify key phenomena (prints the %DIFF, "
|
"Select a reference treebank to identify key phenomena (prints the %DIFF, "
|
||||||
"BIC and OR keyness scores)."
|
"BIC and OR keyness scores)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Primerjava z rezultati v referenčnem korpusu (izračun razmerja frekvenc ter vrednosti %DIFF, "
|
"Primerjava z rezultati v referenčnem korpusu (izračun razmerja frekvenc ter "
|
||||||
"BIC in Odds Ratio)"
|
"vrednosti %DIFF, BIC in Odds Ratio)"
|
||||||
|
|
||||||
#: templates/index.html:171 templates/index.html:178
|
#: templates/index.html:173 templates/index.html:180
|
||||||
msgid "Upload a compare corpus"
|
msgid "Upload a compare corpus"
|
||||||
msgstr "Naložite referenčni korpus"
|
msgstr "Naložite referenčni korpus"
|
||||||
|
|
||||||
#: templates/index.html:202
|
#: templates/index.html:206
|
||||||
msgid "Submit"
|
msgid "Submit"
|
||||||
msgstr "Poišči drevesa"
|
msgstr "Poišči drevesa"
|
||||||
|
|
||||||
#: templates/index.html:210
|
#: templates/index.html:214
|
||||||
msgid "No results"
|
msgid "No results"
|
||||||
msgstr "Brez zadetkov"
|
msgstr "Brez zadetkov"
|
||||||
|
|
||||||
#: templates/index.html:211
|
#: templates/index.html:215
|
||||||
msgid "Processing with your settings didnt produce any results!"
|
msgid "Processing with your settings didnt produce any results!"
|
||||||
msgstr "Procesiranje z izbranimi nastavitvami ne vrača rezultatov."
|
msgstr "Procesiranje z izbranimi nastavitvami ne vrača rezultatov."
|
||||||
|
|
||||||
|
@ -413,6 +407,9 @@ msgstr "Nazaj na izbrane nastavitve"
|
||||||
msgid "Download complete results"
|
msgid "Download complete results"
|
||||||
msgstr "Prenesi datoteko s celotnimi rezultati"
|
msgstr "Prenesi datoteko s celotnimi rezultati"
|
||||||
|
|
||||||
|
#~ msgid "Example"
|
||||||
|
#~ msgstr "primer"
|
||||||
|
|
||||||
#~ msgid "Please provide information about minimum and maximum tree size."
|
#~ msgid "Please provide information about minimum and maximum tree size."
|
||||||
#~ msgstr "Določite najmanjše in največje število vozlišč v drevesu."
|
#~ msgstr "Določite najmanjše in največje število vozlišč v drevesu."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user