mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
13 lines
273 B
13 lines
273 B
import { CategoryItem } from '~/domain/models/tasks/textClassification'
|
|
|
|
export class TextClassificationDTO {
|
|
id: number
|
|
label: number
|
|
user: number
|
|
|
|
constructor(item: CategoryItem) {
|
|
this.id = item.id
|
|
this.label = item.label
|
|
this.user = item.user
|
|
}
|
|
}
|