code: def get_char_spans(self, text: str) -> Iterator[Tuple[int, int, str]]:
      for j, word in self.model.iter(text):
          i = j - len(word) + 1
          yield i, j + 1, word
  
file_path: camphr/packages/camphr_pattern_search/camphr_pattern_search/__init__.py
imports: import itertools
  from typing import Callable, Iterable, Iterator, List, Optional, Tuple
  import ahocorasick
  from spacy.tokens.token import Token
  import textspan
  from spacy.tokens import Doc, Span
label_desc: Use image node_id 3 for calling the PatternSearcher obj's underlying member method code with example usage: obj.get_char_spans(text) without return types