googleWordCloud/googleWordCloud.py
def createGoogleWordCloud(searchTerm):
    """
    This function creates a word cloud from the defined searchTerm and saves
    a png to the current directory

    Parameters
    ----------
    searchTerm : STRING
        The search term you wish to google.

    Returns
    -------
    None. - saves "searchTerm.png" word cloud based on the google results

    """
    
    url = "https://www.google.co.uk/search?q="+searchTerm
    
    page = getWebPage(url)
    
    text = getAbstractsFromGooglePage(page)    
    
    createWordCloud(text,searchTerm)

    This function creates a word cloud from the defined searchTerm and saves
    a png to the current directory

    Parameters
    ----------
    searchTerm : STRING
        The search term you wish to google.

    Returns
    -------
    None. - saves "searchTerm.png" word cloud based on the google results

    
This function creates a word cloud from the defined searchTerm and saves
a png to the current directory

Parameters

searchTerm : STRING
The search term you wish to google.

Returns

None. - saves "searchTerm.png" word cloud based on the google results
This function creates a word cloud from the defined searchTerm and saves a png to the current directory Parameters searchTerm : STRING The search term you wish to google . Returns None . - saves " searchTerm . png " word cloud based on the google results
def createGoogleWordCloud(searchTerm):
    url = "https://www.google.co.uk/search?q="+searchTerm
    page = getWebPage(url)
    text = getAbstractsFromGooglePage(page)    
    createWordCloud(text,searchTerm)
def createGoogleWordCloud ( searchTerm ) : url = "https://www.google.co.uk/search?q=" + searchTerm page = getWebPage ( url ) text = getAbstractsFromGooglePage ( page ) createWordCloud ( text , searchTerm )
This function creates a word cloud from the defined searchTerm and saves
a png to the current directory
This function creates a word cloud from the defined searchTerm and saves a png to the current directory
"""
    This function creates a word cloud from the defined searchTerm and saves
    a png to the current directory

    Parameters
    ----------
    searchTerm : STRING
        The search term you wish to google.

    Returns
    -------
    None. - saves "searchTerm.png" word cloud based on the google results

    """
searchTerm