2021-05-28 13:51:23 +00:00
{% extends "base.html.j2" %}
{% from "services/_breadcrumbs.html.j2" import breadcrumbs with context %}
2021-05-27 11:05:46 +00:00
{% import "materialize/wtf.html.j2" as wtf %}
2020-02-07 14:21:59 +00:00
2022-04-04 11:31:09 +00:00
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
2020-10-26 11:47:06 +00:00
2020-08-25 13:37:45 +00:00
{% block page_content %}
2020-10-26 11:47:06 +00:00
<div class="container">
<div class="row">
<div class="col s12">
<h1 id="title">{{ title }}</h1>
</div>
2020-08-25 09:49:43 +00:00
2020-10-26 11:47:06 +00:00
<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>
2021-05-05 08:05:12 +00:00
<a class="btn-floating btn-large btn-scale-x2 waves-effect waves-light">
2022-04-04 11:31:09 +00:00
<i class="nopaque-icons service-color darken service-icon" data-service="spacy-nlp-pipeline"></i>
2020-10-26 11:47:06 +00:00
</a>
</div>
</div>
2020-03-07 19:20:58 +00:00
2020-10-26 11:47:06 +00:00
<div class="col s12 m9 pull-m3">
2022-04-04 11:31:09 +00:00
<div class="card service-color-border border-darken" data-service="spacy-nlp-pipeline" style="border-top: 10px solid;">
2020-10-26 11:47:06 +00:00
<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>
2020-02-18 14:31:10 +00:00
</div>
2019-08-05 13:36:18 +00:00
</div>
</div>
</div>
2020-03-02 13:19:54 +00:00
2020-10-26 11:47:06 +00:00
<div class="col s12">
2020-10-28 10:21:05 +00:00
<h2>Submit a job</h2>
2020-10-26 11:47:06 +00:00
<div class="card">
2022-09-02 11:07:30 +00:00
<form class="create-job-form" enctype="multipart/form-data" method="POST">
2020-10-26 11:47:06 +00:00
<div class="card-content">
2020-11-13 09:01:51 +00:00
{{ form.hidden_tag() }}
2020-10-26 11:47:06 +00:00
<div class="row">
<div class="col s12 l4">
2022-04-12 14:11:24 +00:00
{{ wtf.render_field(form.title, material_icon='title') }}
2020-10-26 11:47:06 +00:00
</div>
<div class="col s12 l8">
2022-04-12 14:11:24 +00:00
{{ wtf.render_field(form.description, material_icon='description') }}
2020-10-26 11:47:06 +00:00
</div>
<div class="col s12 l5">
2022-04-04 11:31:09 +00:00
{{ wtf.render_field(form.txt, accept='text/plain', placeholder='Choose a plain text file') }}
2020-10-26 11:47:06 +00:00
</div>
<div class="col s12 l4">
2022-02-03 11:39:16 +00:00
{{ wtf.render_field(form.model, material_icon='language') }}
2020-10-26 11:47:06 +00:00
</div>
<div class="col s12 l3">
2020-11-13 09:01:51 +00:00
{{ wtf.render_field(form.version, material_icon='apps') }}
2020-10-26 11:47:06 +00:00
</div>
<div class="col s12">
<span class="card-title">Preprocessing</span>
</div>
<div class="col s9">
2022-02-03 11:39:16 +00:00
<p>{{ form.encoding_detection.label.text }}</p>
2020-10-26 11:47:06 +00:00
<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>
2022-02-03 11:39:16 +00:00
{{ form.encoding_detection() }}
2020-10-26 11:47:06 +00:00
<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>
-->
2019-08-05 13:36:18 +00:00
</div>
</div>
2020-10-26 11:47:06 +00:00
<div class="card-action right-align">
2020-11-13 09:01:51 +00:00
{{ wtf.render_field(form.submit, material_icon='send') }}
2020-10-26 11:47:06 +00:00
</div>
</form>
2020-03-02 09:42:25 +00:00
</div>
2020-10-26 11:47:06 +00:00
</div>
2019-08-05 13:36:18 +00:00
</div>
</div>
2021-12-01 13:15:20 +00:00
{% endblock page_content %}
2019-09-17 08:56:56 +00:00
2021-12-01 13:15:20 +00:00
{% block modals %}
{{ super() }}
2019-09-17 08:56:56 +00:00
<div id="progress-modal" class="modal">
<div class="modal-content">
2020-04-17 09:04:09 +00:00
<h4><i class="material-icons prefix">file_upload</i> Uploading files...</h4>
2019-09-17 08:56:56 +00:00
<div class="progress">
<div class="determinate" style="width: 0%"></div>
</div>
</div>
<div class="modal-footer">
2020-02-20 14:59:08 +00:00
<a href="#!" class="modal-close waves-effect waves-light btn red abort-request">Cancel</a>
2019-09-17 08:56:56 +00:00
</div>
</div>
2021-12-01 13:15:20 +00:00
{% endblock modals %}
2021-03-26 12:10:42 +00:00
{% block scripts %}
{{ super() }}
<script>
2021-12-02 12:48:48 +00:00
let versionField = document.querySelector('#add-job-form-version');
2021-03-26 12:10:42 +00:00
versionField.addEventListener('change', (event) => {
let url = new URL(window.location.href);
url.search = `?version=${event.target.value}`;
window.location.href = url.toString();
});
</script>
2021-12-01 13:15:20 +00:00
{% endblock scripts %}