def create_look_up_table(vocab_list):
  """Create tables for encoding and decoding texts."""
  vocab2int = {word: i for i, word in enumerate(vocab_list)}
  int2vocab = vocab_list
  return vocab2int, int2vocab