MelConcept¶
-
class
oci.ai_language.models.
MelConcept
(**kwargs)¶ Bases:
object
The MEL concepts details for health ner.
Methods
__init__
(**kwargs)Initializes a new MelConcept object with values from keyword arguments. Attributes
concepts
[Required] Gets the concepts of this MelConcept. ontology_name
[Required] Gets the ontology_name of this MelConcept. -
__init__
(**kwargs)¶ Initializes a new MelConcept object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - ontology_name (str) – The value to assign to the ontology_name property of this MelConcept.
- concepts (list[oci.ai_language.models.MelConceptDetails]) – The value to assign to the concepts property of this MelConcept.
-
concepts
¶ [Required] Gets the concepts of this MelConcept. This contains the list of matched concepts which are ranked by the relevant score with the input text
Returns: The concepts of this MelConcept. Return type: list[oci.ai_language.models.MelConceptDetails]
-
ontology_name
¶ [Required] Gets the ontology_name of this MelConcept. Name of the ontology to which the Entity is mapped
Returns: The ontology_name of this MelConcept. Return type: str
-