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.
17 lines
347 B
17 lines
347 B
import { Span } from '@/domain/models/tasks/span'
|
|
|
|
export class SpanDTO {
|
|
id: number
|
|
label: number
|
|
user: number
|
|
startOffset: number
|
|
endOffset: number
|
|
|
|
constructor(item: Span) {
|
|
this.id = item.id
|
|
this.label = item.label
|
|
this.user = item.user
|
|
this.startOffset = item.startOffset
|
|
this.endOffset = item.endOffset
|
|
}
|
|
}
|