def convert_BOW_sentence(bow, vocab_inverse):
    """Convert Bag of Words representation to sentence"""
    s = ""
    for ind in range(len(bow)):
        if bow[ind]:
            s += vocab_inverse[ind]
            if ind < len(bow)-1:
                s+= " "
    return s