mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
126 lines
5.1 KiB
Django/Jinja
126 lines
5.1 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
{% import 'materialize/wtf.html.j2' as wtf %}
|
|
{% from '_colors.html.j2' import colors %}
|
|
|
|
{% set scheme_primary_color = colors.nlp_darken %}
|
|
{% set scheme_secondary_color = colors.nlp %}
|
|
|
|
{% block main_attribs %} class="nlp-color lighten"{% endblock main_attribs %}
|
|
|
|
{% block page_content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<h1 id="title">{{ title }}</h1>
|
|
</div>
|
|
|
|
<div class="col s12 m3 push-m9">
|
|
<div class="center-align">
|
|
<p class="hide-on-small-only"> </p>
|
|
<p class="hide-on-small-only"> </p>
|
|
<a class="btn-floating btn-large waves-effect waves-light" style="transform: scale(2);">
|
|
<i class="material-icons service" data-service="nlp"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12 m9 pull-m3">
|
|
<div class="card" style="border-top: 10px solid {{ colors.nlp_darken }};">
|
|
<div class="card-content">
|
|
<div class="row">
|
|
<div class="col s12 m6">
|
|
<div class="card-panel z-depth-0">
|
|
<span class="card-title"><i class="left material-icons">layers</i>Tokenization</span>
|
|
<p>Your text is split up into sentences and words, so called tokens, which can then be analyzed.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col s12 m6">
|
|
<div class="card-panel z-depth-0">
|
|
<span class="card-title"><i class="left material-icons">layers</i>Lemmatization</span>
|
|
<p>All inflected forms of a word are grouped together so that it can be analyzed as a single item.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col s12 m6">
|
|
<div class="card-panel z-depth-0">
|
|
<span class="card-title"><i class="left material-icons">layers</i>Part-of-speech Tagging</span>
|
|
<p>In accordance with its definition and context, each word is marked up as corresponding to a particular part of speech.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col s12 m6">
|
|
<div class="card-panel z-depth-0">
|
|
<span class="card-title"><i class="left material-icons">layers</i>Named-Entity Recognition</span>
|
|
<p>Named entities are located and classified into specific categories like persons or locations.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12">
|
|
<h2>Submit a job</h2>
|
|
<div class="card">
|
|
<form class="nopaque-submit-form" data-progress-modal="progress-modal">
|
|
<div class="card-content">
|
|
{{ add_job_form.hidden_tag() }}
|
|
<div class="row">
|
|
<div class="col s12 l4">
|
|
{{ wtf.render_field(add_job_form.title, data_length='32', material_icon='title') }}
|
|
</div>
|
|
<div class="col s12 l8">
|
|
{{ wtf.render_field(add_job_form.description, data_length='255', material_icon='description') }}
|
|
</div>
|
|
<div class="col s12 l5">
|
|
{{ wtf.render_field(add_job_form.files, accept='text/plain', placeholder='Choose your .txt files') }}
|
|
</div>
|
|
<div class="col s12 l4">
|
|
{{ wtf.render_field(add_job_form.language, material_icon='language') }}
|
|
</div>
|
|
<div class="col s12 l3">
|
|
{{ wtf.render_field(add_job_form.version, material_icon='apps') }}
|
|
</div>
|
|
<div class="col s12">
|
|
<span class="card-title">Preprocessing</span>
|
|
</div>
|
|
<div class="col s9">
|
|
<p>{{ add_job_form.check_encoding.label.text }}</p>
|
|
<p class="light">If the input files are not created with the nopaque OCR service or you do not know if your text files are UTF-8 encoded, check this switch. We will try to automatically determine the right encoding for your texts to process them.</p>
|
|
</div>
|
|
<div class="col s3 right-align">
|
|
<div class="switch">
|
|
<label>
|
|
{{ add_job_form.check_encoding() }}
|
|
<span class="lever"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
Seperate each setting with the following
|
|
<div class="col s12"><p> </p></div>
|
|
<div class="col s12 divider"></div>
|
|
<div class="col s12"><p> </p></div>
|
|
-->
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ wtf.render_field(add_job_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="progress-modal" class="modal">
|
|
<div class="modal-content">
|
|
<h4><i class="material-icons prefix">file_upload</i> Uploading files...</h4>
|
|
<div class="progress">
|
|
<div class="determinate" style="width: 0%"></div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a href="#!" class="modal-close waves-effect waves-light btn red abort-request">Cancel</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|