code: def __init__(self, char_ix):
      self.char_ix = char_ix
  
      self.anno_ix: Optional[int] = None
      self.tokens: List[int] = []
  
imports: import itertools
  import os
  import re
  from string import Template
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple
  from tokenizers import Encoding, Tokenizer
label_desc: Use image node_id 1 to create a new CharState object  with example: obj = CharState(char_ix)