def update_tok_and_embed(tokens, embeddings, index, embed2_index, averaged_embeddings):
    if (embed2_index > index):
        tokens[index] = ((tokens[index] + ' ') + tokens[embed2_index])
    else:
        tokens[index] = ((tokens[embed2_index] + ' ') + tokens[index])
    embeddings[index] = averaged_embeddings
    del tokens[embed2_index]
    del embeddings[embed2_index]
    return (tokens, embeddings)
def update_tok_and_embed(tokens, embeddings, index, embed2_index, averaged_embeddings):
    if (embed2_index > index):
        tokens[index] = ((tokens[index] + ' ') + tokens[embed2_index])
    else:
        tokens[index] = ((tokens[embed2_index] + ' ') + tokens[index])
    embeddings[index] = averaged_embeddings
    del tokens[embed2_index]
    del embeddings[embed2_index]
    return (tokens, embeddings)