def _extract_fasttext_vectors(zip_path, dest_path="."):
    """ Extracts fastText embeddings from zip file.

    Args:
        zip_path(str): Path to the downloaded compressed zip file.
        dest_path(str): Final destination directory path to the extracted zip file.
        Picks the current working directory by default.

    Returns:
        str: Returns the absolute path to the extracted folder.
    """

    if os.path.exists(zip_path):
        with zipfile.ZipFile(zip_path, "r") as zip_ref:
            zip_ref.extractall(path=dest_path)
    else:
        raise Exception("Zipped file not found!")

    os.remove(zip_path)
    return dest_path
 Extracts fastText embeddings from zip file.

    Args:
        zip_path(str): Path to the downloaded compressed zip file.
        dest_path(str): Final destination directory path to the extracted zip file.
        Picks the current working directory by default.

    Returns:
        str: Returns the absolute path to the extracted folder.
    
utils_nlp/models/pretrained_embeddings/fasttext.py