code: def encode(self, text: str) -> List[int]:
      return self._keras_tokenizer.texts_to_sequences([text])[0]
  
file_path: headliner/headliner/preprocessing/keras_tokenizer.py
imports: from typing import List, Iterable, Dict
  from keras_preprocessing.text import Tokenizer
  from headliner.preprocessing.tokenizer import Tokenizer
label_desc: Use image node_id 2 for calling the KerasTokenizer obj's underlying member method code with example usage: obj.encode(text) and returns: self