def shrink_glove_file(glove_fp: Path, filter_words: List[str], save_fp: Path) -> None:
    '\n    :param glove_fp: File path to the glove file that is to be shrinked\n    :param filter_words: List of words to filter/shrink the glove file/vectors \n                         by\n    :param save_fp:\n    '
    with save_fp.open('w+') as save_file:
        with glove_fp.open('r') as glove_file:
            for glove_vector in glove_file:
                glove_parts = glove_vector.split()
                if ((len(glove_parts) == 301) or (len(glove_parts) == 51) or (len(glove_parts) == 201)):
                    pass
                else:
                    continue
                glove_word = glove_parts[0]
                if (glove_word in filter_words):
                    save_file.write(glove_vector)
:param glove_fp: File path to the glove file that is to be shrinked
:param filter_words: List of words to filter/shrink the glove file/vectors 
                     by
:param save_fp:
def shrink_glove_file(glove_fp: Path, filter_words: List[str], save_fp: Path) -> None:
    '\n    :param glove_fp: File path to the glove file that is to be shrinked\n    :param filter_words: List of words to filter/shrink the glove file/vectors \n                         by\n    :param save_fp:\n    '
    with save_fp.open('w+') as save_file:
        with glove_fp.open('r') as glove_file:
            for glove_vector in glove_file:
                glove_parts = glove_vector.split()
                if ((len(glove_parts) == 301) or (len(glove_parts) == 51) or (len(glove_parts) == 201)):
                    pass
                else:
                    continue
                glove_word = glove_parts[0]
                if (glove_word in filter_words):
                    save_file.write(glove_vector)