code: def tokens_to_ids(self, tokens: List[str]) -> List[int]:
      return [self.vocab[token] for token in tokens]
  
imports: import json
  import os
  import warnings
  from collections import Counter
  from enum import Enum
  from pathlib import Path
  from typing import Dict, List, NewType, Optional, Union
  from nemo.collections.common.tokenizers.tokenizer_spec import TokenizerSpec
label_desc: Use image node_id 12 for calling the CharTokenizer obj's underlying member method code with example usage: obj.tokens_to_ids(tokens) and returns: unknown