def standardize_by_duplicating(tokens, embeddings, std_length=10):
    (token_copy, embeddings_copy) = (tokens[:], embeddings[:])
    while (len(tokens) < std_length):
        tokens += token_copy
        embeddings += embeddings_copy
    return standardize_by_averaging(tokens, embeddings, std_length)
def standardize_by_duplicating(tokens, embeddings, std_length=10):
    (token_copy, embeddings_copy) = (tokens[:], embeddings[:])
    while (len(tokens) < std_length):
        tokens += token_copy
        embeddings += embeddings_copy
    return standardize_by_averaging(tokens, embeddings, std_length)