code: def sented_doc():
      text = "One sentence. Two sentences. Three sentences."
      nlp = English()
      doc = nlp(text)
      for i in range(len(doc)):
          if i % 3 == 0:
              doc[i].is_sent_start = True
          else:
              doc[i].is_sent_start = False
      return doc
  
file_path: spacy/spacy/tests/test_scorer.py
imports: import pytest
  from numpy.testing import assert_almost_equal, assert_array_almost_equal
  from pytest import approx
  from spacy.lang.en import English
  from spacy.scorer import PRFScore, ROCAUCScore, Scorer, _roc_auc_score, _roc_curve
  from spacy.tokens import Doc, Span
  from spacy.training import Example
  from spacy.training.iob_utils import offsets_to_biluo_tags
label_desc: Use image node_id 2 for calling a global function with example usage: sented_doc() and returns: doc