code: def tokens_and_char_idx(draw: Callable[[SearchStrategy[T]], T]):
      tokens = draw(st.lists(st.text()))
      l = len("".join(tokens))
      i = draw(st.integers(min_value=-l, max_value=2 * l))
      return tokens, i
  
file_path: camphr/packages/camphr/tests/test_utils.py
imports: from hypothesis.strategies._internal.strategies import SearchStrategy
  from camphr.doc import Doc, DocProto, T_Ent, T_Span, T_Token
  from camphr.utils import token_from_char_pos
  from typing import Callable, List, Optional, Tuple, TypeVar
  import pytest
  from hypothesis import given
  from hypothesis import strategies
label_desc: Use image node_id 3 for calling a global function with example usage: tokens_and_char_idx(draw) and returns: tokens,  i