def process_documents(articles):
    """Process articles  and returns it in dictionary format

    Parameters
    ----------
    articles : list of str
        List of articles dictionaries

    Returns
    -------
    dicts_textContent : dict
        Dictionary containing the required structure used by the models:
        {"text": article text content
         "meta": {"name": article title, "uri": article url, 
                "pubDate":publication date (optional)}}
    """

    dicts_textContent = []

    for article in articles:
        # Join text and title as they all provide
        # interesting information
        complete_text = (
            article["text"] + article["title"]
        )

        # For each of the texts format in form of dictionary
        dicts_textContent.append(
            {
                "text": complete_text,
                "meta": {
                    "name": article["title"],
                    "uri": article["uri"],
                    "pubDate": article["pubDate"]
                },
            }
        )

    return dicts_textContent