def convert_tok_str_to_sent(tok_str):
    """Returns the sentence given the subword tokens"""
    res = ''
    tokens = tok_str.split(' ')
    for token in tokens:
        if '#' in token:
            token = token.replace('#', '')
            res += token
        else:
            res = res + ' ' + token
    return res.strip()