#!/usr/bin/env python# -*- coding: utf-8; -*-# Copyright (c) 2021, 2022 Oracle and/or its affiliates.# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
[docs]classDatasetType:"""DatasetType class which contains all the dataset types that data labeling service supports. """TEXT="TEXT"IMAGE="IMAGE"DOCUMENT="DOCUMENT"
[docs]classAnnotationType:"""AnnotationType class which contains all the annotation types that data labeling service supports. """SINGLE_LABEL="SINGLE_LABEL"MULTI_LABEL="MULTI_LABEL"ENTITY_EXTRACTION="ENTITY_EXTRACTION"BOUNDING_BOX="BOUNDING_BOX"
[docs]classFormats:"""Common formats class which contains all the common formats that are supported to convert to. """SPACY="spacy"YOLO="yolo"