mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
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.
46 lines
907 B
46 lines
907 B
<template lang="pug">
|
|
extends ./upload.pug
|
|
|
|
block select-format-area
|
|
label.radio
|
|
input(
|
|
type="radio"
|
|
name="format"
|
|
value="csv"
|
|
v-bind:checked="format == 'csv'"
|
|
v-model="format"
|
|
)
|
|
| CSV
|
|
|
|
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_text_classification.txt
|
|
| ...
|
|
|
|
pre.code-block(v-show="format == 'csv'")
|
|
code.csv
|
|
include ./examples/upload_text_classification.csv
|
|
| ...
|
|
|
|
pre.code-block(v-show="format == 'json'")
|
|
code.json
|
|
include ./examples/upload_text_classification.jsonl
|
|
| ...
|
|
</template>
|
|
|
|
<script>
|
|
import { uploadMixin } from './mixin';
|
|
|
|
export default uploadMixin;
|
|
</script>
|