Skip to content

Class: TextAnnotationResult

URI: https://w3id.org/monarch/monarch-py/:TextAnnotationResult

 classDiagram
    class TextAnnotationResult
    click TextAnnotationResult href "../TextAnnotationResult"
      TextAnnotationResult : end

      TextAnnotationResult : start

      TextAnnotationResult : text

      TextAnnotationResult : tokens




    TextAnnotationResult --> "*" Entity : tokens
    click Entity href "../Entity"

Slots

Name Cardinality and Range Description Inheritance
text 0..1
String
text without tokens direct
tokens *
Entity
A collection of entities or concepts direct
start 0..1
Integer
start position of the annotation direct
end 0..1
Integer
end position of the annotation direct

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self https://w3id.org/monarch/monarch-py/:TextAnnotationResult
native https://w3id.org/monarch/monarch-py/:TextAnnotationResult

LinkML Source

Direct

name: TextAnnotationResult
from_schema: https://w3id.org/monarch/monarch-py
slots:
- text
- tokens
- start
- end

Induced

name: TextAnnotationResult
from_schema: https://w3id.org/monarch/monarch-py
attributes:
  text:
    name: text
    description: text without tokens
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: text
    owner: TextAnnotationResult
    domain_of:
    - TextAnnotationResult
    range: string
    inlined: true
  tokens:
    name: tokens
    description: A collection of entities or concepts
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: tokens
    owner: TextAnnotationResult
    domain_of:
    - TextAnnotationResult
    range: Entity
    multivalued: true
    inlined: true
    inlined_as_list: true
  start:
    name: start
    description: start position of the annotation
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: start
    owner: TextAnnotationResult
    domain_of:
    - TextAnnotationResult
    range: integer
  end:
    name: end
    description: end position of the annotation
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: end
    owner: TextAnnotationResult
    domain_of:
    - TextAnnotationResult
    range: integer