AIExplainer
Machine Learning Intermediate

text span

The array index span associated with a specific subsection of a text string.

The array index span associated with a specific subsection of a text string. For example, the word`good` in the Python string`s="Be good now"` occupies the text span from 3 to 6.

Practitioners refer to text span when building, training, or evaluating machine learning systems. It appears in research papers, product documentation, and technical discussions about AI capabilities and limitations.