mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
<template lang="pug">
|
|
extends ./upload.pug
|
|
|
|
block select-format-area
|
|
label.radio
|
|
input(
|
|
v-model="format"
|
|
v-bind:checked="format == 'plain'"
|
|
type="radio"
|
|
name="format"
|
|
value="plain"
|
|
)
|
|
| Plain
|
|
|
|
label.radio
|
|
input(
|
|
type="radio"
|
|
name="format"
|
|
value="conll"
|
|
v-bind:checked="format == 'conll'"
|
|
v-model="format"
|
|
)
|
|
| CoNLL
|
|
|
|
label.radio
|
|
input(
|
|
type="radio"
|
|
name="format"
|
|
value="json"
|
|
v-bind:checked="format == 'json'"
|
|
v-model="format"
|
|
)
|
|
| JSONL
|
|
|
|
block example-format-area
|
|
pre.code-block(v-show="format == 'plain'")
|
|
code.plaintext
|
|
include ./examples/upload_sequence_labeling.txt
|
|
| ...
|
|
|
|
pre.code-block(v-show="format == 'conll'")
|
|
code.plaintext
|
|
include ./examples/upload_sequence_labeling.conll
|
|
| ...
|
|
|
|
pre.code-block(v-show="format == 'json'")
|
|
code.json
|
|
include ./examples/upload_sequence_labeling.jsonl
|
|
| ...
|
|
</template>
|
|
|
|
<script>
|
|
import uploadMixin from './uploadMixin';
|
|
|
|
export default uploadMixin;
|
|
</script>
|