mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
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.
75 lines
1.4 KiB
75 lines
1.4 KiB
<template>
|
|
<div>
|
|
<side-bar-labeling
|
|
:labels="labels"
|
|
:progress="progress"
|
|
:metadata="metadata"
|
|
/>
|
|
<v-content>
|
|
<v-container fluid fill-height>
|
|
<v-layout justify-center>
|
|
<v-flex>
|
|
<v-card>
|
|
<v-card-text class="title">
|
|
<entity-item-box />
|
|
</v-card-text>
|
|
</v-card>
|
|
</v-flex>
|
|
</v-layout>
|
|
</v-container>
|
|
</v-content>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import EntityItemBox from '~/components/containers/EntityItemBox'
|
|
import SideBarLabeling from '~/components/organisms/SideBarLabeling'
|
|
|
|
export default {
|
|
layout: 'annotation',
|
|
components: {
|
|
EntityItemBox,
|
|
SideBarLabeling
|
|
},
|
|
data: () => ({
|
|
progress: 30,
|
|
metadata: '{"wikiPageId":2}',
|
|
search: '',
|
|
labels: [
|
|
{
|
|
id: 1,
|
|
name: 'Location',
|
|
color: '#E91E63',
|
|
shortcut: 'l'
|
|
},
|
|
{
|
|
id: 2,
|
|
name: 'Organization',
|
|
color: '#03A9F4',
|
|
shortcut: 'o'
|
|
},
|
|
{
|
|
id: 3,
|
|
name: 'Person',
|
|
color: '#009688',
|
|
shortcut: 'p'
|
|
},
|
|
{
|
|
id: 4,
|
|
name: 'Date',
|
|
color: '#FF6F00',
|
|
shortcut: 'd'
|
|
},
|
|
{
|
|
id: 5,
|
|
name: 'Other',
|
|
color: '#333333',
|
|
shortcut: 't'
|
|
}
|
|
]
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
</style>
|