Skip to content

Span

Introduction

Classification spans are the different parts of the text that are classified. They each containe enough information to identify the text they are associated with.

Format

KeyTypeDescription
indexesArray()An array of two integers representing the indexes of the first and last characters of the span.
source_pureStringThe text of the span.

Example

[
	{
		"indexes": [2699, 2715],
		"source_pure": "entre en vigueur"
	},
	{ "indexes": [2728, 2742], "source_pure": "1 janvier 2022" }
]

Next steps