def getAllDocuments(authorlist):
    """
    Returns the documents of all authors in AUTHORLIST for feature extraction.

    Arguments
    ---------
    authorList : list
        list with all authors


    Returns
    -------
    documentList : list
        list containing all documents of authors in authorlist
    """
    documentlist = []
    for authors in authorlist:
        [documentlist.append(doc) for doc in authors.docs]
    return documentlist