def create_map(input_text):
    """
    Map words in vocab to int and vice versa for easy lookup
    :param input_text: Book Script data split into words
    :return: A tuple of dicts (vocab_to_int, int_to_vocab)
    """
    vocab = set(input_text)
    vocab_to_int = {c: i for i, c in enumerate(vocab)}
    int_to_vocab = dict(enumerate(vocab))
    return vocab_to_int, int_to_vocab