# Class SemanticMarkup (0.14.0)

0.14.0 (latest) 0.13.0 0.12.0 0.11.0 0.10.17 0.9.0 0.8.2 0.7.1 0.6.3 0.5.1 0.4.0 0.3.3 0.2.1 0.1.1

    SemanticMarkup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Semantic markup denotes a substring (by index and length)
with markup information.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/dataqna/latest/google.cloud.dataqna_v1alpha.types.AnnotatedString.SemanticMarkupType` The semantic type of the markup substring. |
| `start_char_index` | `int` Unicode character index of the query. |
| `length` | `int` The length (number of unicode characters) of the markup substring. |