Added Complexity measures
This commit is contained in:
@@ -174,7 +174,9 @@ def create_app():
|
||||
'BIC': gettext('BIC'),
|
||||
'MI': gettext('MI'),
|
||||
'logDice': gettext('logDice'),
|
||||
't-score': gettext('t-score')
|
||||
't-score': gettext('t-score'),
|
||||
'Max depth': gettext('Max depth'),
|
||||
'MDD': gettext('MDD')
|
||||
}
|
||||
if 'Absolute frequency in second treebank' in head:
|
||||
table_columns2displayed_table_columns['Absolute frequency'] = gettext('Frequency in A')
|
||||
@@ -254,7 +256,9 @@ def create_app():
|
||||
'BIC': gettext('BIC'),
|
||||
'MI': gettext('MI'),
|
||||
'logDice': gettext('logDice'),
|
||||
't-score': gettext('t-score')
|
||||
't-score': gettext('t-score'),
|
||||
'Max depth': gettext('Max depth'),
|
||||
'MDD': gettext('MDD')
|
||||
}
|
||||
if 'Absolute frequency in second treebank' in head:
|
||||
table_columns2displayed_table_columns['Absolute frequency'] = gettext('Frequency in A')
|
||||
@@ -407,6 +411,7 @@ def create_app():
|
||||
configs['dependency_type'] = 'labeled_trees' in form and form['labeled_trees'] == 'on'
|
||||
configs['node_order'] = 'fixed_order' in form and form['fixed_order'] == 'on'
|
||||
configs['association_measures'] = 'association_measures' in form and form['association_measures'] == 'on'
|
||||
configs['complexity_measures'] = 'yes' if 'complexity_measures' in form and form['complexity_measures'] == 'on' else 'no'
|
||||
|
||||
configs['label_whitelist'] = []
|
||||
configs['root_whitelist'] = []
|
||||
|
||||
Reference in New Issue
Block a user