def fix_w2l_text(output):
    """W2L text has some predictabile peculiarities, this function strips those out

    Args:
        output (string): Raw output of W2L inference

    Returns:
        str: clean tet of what was said
    """
    text = output.decode("utf-8")
    if len(text) > 1:
        text = text.split(",")[2][:-2]
    else:
        return
    # Remove some bad outputs
    if len(text) > 0:
        if text[0] == "h" and len(text) == 1:
            text = ""
    if len(text) > 1:
        if text[:2] == "h " or text == " transcriptio":
            text = ""
    return text