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.
15 lines
394 B
15 lines
394 B
export class Catalog {
|
|
constructor(
|
|
public name: string,
|
|
public example: string,
|
|
public accept_types: string,
|
|
public properties: object
|
|
) {}
|
|
|
|
static valueOf(
|
|
{ name, example, accept_types, properties }:
|
|
{ name: string, example: string, accept_types: string, properties: object }
|
|
): Catalog {
|
|
return new Catalog(name, example, accept_types, properties)
|
|
}
|
|
}
|