|
@ -5,13 +5,15 @@ |
|
|
<v-col cols="12" md="9"> |
|
|
<v-col cols="12" md="9"> |
|
|
<v-card> |
|
|
<v-card> |
|
|
<v-card-title> |
|
|
<v-card-title> |
|
|
<text-classification |
|
|
|
|
|
|
|
|
<label-group |
|
|
:labels="items" |
|
|
:labels="items" |
|
|
:annotations="currentDoc.annotations" |
|
|
:annotations="currentDoc.annotations" |
|
|
|
|
|
single-label="true" |
|
|
@add="addLabel" |
|
|
@add="addLabel" |
|
|
@remove="removeLabel" |
|
|
@remove="removeLabel" |
|
|
/> |
|
|
/> |
|
|
</v-card-title> |
|
|
</v-card-title> |
|
|
|
|
|
<v-divider /> |
|
|
<v-card-text class="title"> |
|
|
<v-card-text class="title"> |
|
|
{{ currentDoc.text }} |
|
|
{{ currentDoc.text }} |
|
|
</v-card-text> |
|
|
</v-card-text> |
|
@ -27,13 +29,13 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import ListMetadata from '@/components/tasks/metadata/ListMetadata' |
|
|
import ListMetadata from '@/components/tasks/metadata/ListMetadata' |
|
|
import TextClassification from '@/components/tasks/textClassification/TextClassification' |
|
|
|
|
|
|
|
|
import LabelGroup from '@/components/tasks/textClassification/LabelGroup' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
layout: 'demo', |
|
|
layout: 'demo', |
|
|
|
|
|
|
|
|
components: { |
|
|
components: { |
|
|
TextClassification, |
|
|
|
|
|
|
|
|
LabelGroup, |
|
|
ListMetadata |
|
|
ListMetadata |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|