def get_words_by_start_time(transcript):
    """Merges punctuation with standard words since they don't have a start time, 
    returns them in a handy map of start_time to word and confidence

    Args:
        transcript: Amazon Transcript JSON

    Returns:
        (dict): a map of start_time to word and confidence
    """
    merged_words = {}

    items = transcript["results"]["items"]

    for i, item in enumerate(items):
        # Only save pronunciations... may not be necessary, or may need other types
        if item["type"] == "pronunciation":
            word = item["alternatives"][0]["content"]
            confidence = item["alternatives"][0]["confidence"]

            # If the next item in the transcript is a punctuation, merge with the current word
            if i < len(items) - 1 and items[i + 1]["type"] == "punctuation":
                word += items[i + 1]["alternatives"][0]["content"]

            # Add the word to the map at start time
            merged_words[item["start_time"]] = {
                "content": word,
                "confidence": confidence,
            }

    return merged_words