def build_vocabulary(alphabet: str = "abcdefghijklmnopqrstuvwxyz0123456789,;.!?:'\"/\\|_@#$%^&*~`+-=<>()[]{}"):
    """
    Builds vocabulary based on alphabet
    Args:
        alphabet: is of string. Each character relevant to the alphabet is concatenated

    Returns:
        Dictionary containing the vocabulary. In addition an incremental index is stored per character
    """
    char_dict = {}
    for i, char in enumerate(alphabet):
        char_dict[char] = i + 1

    return char_dict