from bs4 import BeautifulSoup


def remove_html_tag(text):
    """
    Removes the html tags from the text to clean the data

    :param text: (str) The text document

    :return text: (str) Returns the text document free of html tags
    """

    text = BeautifulSoup(text, 'html.parser').get_text()

    return text