130 lines
6.2 KiB
Plaintext
130 lines
6.2 KiB
Plaintext
extends /layout
|
|
|
|
block pageSpecificScipts
|
|
script(nonce=cspNonce src="/javascripts/extraction.js")
|
|
script(nonce=cspNonce src="/javascripts/extraction-oss-edit.js")
|
|
|
|
block body
|
|
section#fixed-top-section
|
|
include /common/main-navigation
|
|
+main-navigation(false)
|
|
include /common/side-menu-fake
|
|
+sideNavigationFake
|
|
include /utilities/dictionaries-main-panel-header
|
|
- const c = { noSidebar: false, hrefurl: '/luscenje', h2: t('Luščenje iz korpusa besedil OSS'), h1: t('Korpus OSS'), description: t('Luščenje terminoloških kandidatov iz besedil, ki so že predhodno oblikoslovno označena, nudi dobre rezultate, vendar je treba nabor besedil omejiti. Svetujemo vam, da zoožite področje in dodatno omejite izbiro s tipi besedil in časovnim razponom, v katerih so nastala. Ko vnesete podatke, morate vse spremembe shraniti. Po vnosu podatkov, s katerimi boste omejili nabor izbranih besedil, morate pritisniti gumb Najdi. Izbiro boste shranili lahko le v primeru, da ne bo število najdenih dokumentov preveliko.'), buttons: [{ type: 'cancel', url: '/luscenje', content: t('Naprej'), classAtr: 'btn border-header header-btn-secondary' }] }
|
|
+mainHeader(c)
|
|
.content-hold-prerequisites
|
|
#offset-main.mt-2
|
|
form#form-edit-oss(method="post")
|
|
.title
|
|
.subject-name
|
|
label.smaller-black-uppercase(for="name")= t('IME')
|
|
.row
|
|
.col-sm-6
|
|
input.name-input.form-control.d-inline(
|
|
type="text"
|
|
name="name"
|
|
value=extraction.name
|
|
)
|
|
.col-sm.d-flex.align-items-center
|
|
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Izberite takšno ime, ki vam bo pomagalo slediti rezultatom, če boste luščenje besedil opravili večkrat.')
|
|
|
|
.cerif.mt-4
|
|
.subject-name
|
|
label.smaller-black-uppercase= t('PODROČJE')
|
|
.row
|
|
.col-sm-6
|
|
select.name-input.form-control.d-inline(name="domain")
|
|
option
|
|
each domain in allPrimaryDomains
|
|
option(
|
|
value=domain.id
|
|
selected=domain.id === extraction.domainId
|
|
)= domain.name
|
|
.col-sm.d-flex.align-items-center
|
|
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Izberite področje iz seznama področij, da zmanjšate obseg besedil, iz katerih bo potekalo luščenje.')
|
|
|
|
.cerif.mt-4
|
|
.subject-name
|
|
label.smaller-black-uppercase= t('VRSTA DOKUMENTA')
|
|
.row
|
|
.col-sm-6
|
|
select.pick-multiple.name-input.form-control.d-inline(
|
|
name="documentType"
|
|
multiple
|
|
)
|
|
option
|
|
each type in ossDocumentTypes
|
|
option(
|
|
value=type.id
|
|
selected=extraction.documentType.includes(type.id)
|
|
)= type.name
|
|
.col-sm.d-flex.align-items-center
|
|
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Izberite vrsto dokumenta iz seznama, npr. članek, diplomsko delo.')
|
|
|
|
.year.mt-4
|
|
.subject-name
|
|
label.smaller-black-uppercase= t('LETO')
|
|
.row
|
|
.col-sm-6
|
|
select.enter-multiple.name-input.form-control.d-inline(
|
|
name="year"
|
|
multiple
|
|
)
|
|
each year in extraction.year
|
|
option(value=year selected)= year
|
|
.col-sm.d-flex.align-items-center
|
|
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('Dodajte leto izida besedil, ki jih želite luščiti. Lahko dodate več posameznih let. Če boste polje pustili prazno, bodo vključena vsa leta. Če bo besedil preveč, boste morali omejiti izbiro.')
|
|
|
|
.words.mt-4
|
|
.subject-name
|
|
label.smaller-black-uppercase= t('KLJUČNE BESEDE')
|
|
.row
|
|
.col-sm-6
|
|
select.enter-multiple.name-input.form-control.d-inline(
|
|
name="keywords"
|
|
multiple
|
|
)
|
|
each keyword in extraction.keywords
|
|
option(value=keyword selected)= keyword
|
|
.col-sm.d-flex.align-items-center
|
|
span.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3= t('S ključnimi besedami, ki so vključene v večino znanstvenih in strokovnih, lahko bolj natančno izberete besedila, ki jih želite uporabiti za luščenje terminoloških kandidatov.')
|
|
.table-kas.mt-5.d-sm-flex
|
|
.d-flex.flex-column.col-sm-6
|
|
.personal-documents.justify-content-between.d-flex.align-items-center
|
|
span.smaller-black-uppercase= t('(STOP) Termini')
|
|
a#edit-stop-terms.btn.btn-primary.button-edit.align-items-center.d-flex.justify-content-center.me-2(
|
|
type="link"
|
|
href=`${id}/stop-termini`
|
|
)= t('Uredi')
|
|
div
|
|
table.table.mt-2
|
|
tbody
|
|
each file, index in stopTermsFiles
|
|
tr
|
|
th.normal-gray= index + 1
|
|
td.text-sm-start.normal-gray= file.filename
|
|
td.text-sm-end.normal-gray= file.size
|
|
.col.d-flex.ms-2
|
|
.d-md-inline.d-block.smaller-gray-info.ms-xxl-3.ms-md-3!= t('Dodate lahko seznam besed, ki jih v seznam terminoloških kandidatov ne želite vključiti. Seznam naj bo shranjen v formatu .txt. Vse spremembe morate shraniti. <a class="smaller-gray-info" href="/pomoc#help-stop-lists">Več...</a>')
|
|
|
|
.col-sm-4.mt-5
|
|
button#search-btn.btn.btn-primary(type="button")= t('Najdi')
|
|
|
|
#search-result
|
|
.task.task-completed.p-3.mb-3.mt-4.d-none
|
|
.d-sm-flex.justify-content-between
|
|
.d-sm-grid
|
|
span.normal-gray= t('Število dokumentov')
|
|
span#results-count.bold-weight-black
|
|
.d-sm-flex.align-items-center
|
|
button#save-params.btn.btn-primary.align-items-center.d-flex(
|
|
disabled
|
|
)
|
|
img(src="/images/external-link-white.svg")
|
|
span.ms-1= t('Shrani')
|
|
|
|
include /utilities/modal-spinner
|
|
include /utilities/modal-alert
|
|
include /common/footer
|