def make_dic(doc_id=None, root=None, date=None,
             author=None, text=None, favorite=None):
    """make dictionary form argument and return dictionary

    Keyword Arguments:
        doc_id {int} -- documnet ID (default: {None})
        root {string} -- xml file name (default: {None})
        date {string} -- date of document (default: {None})
        author {string} -- author of document (default: {None})
        text {string} -- text of document (default: {None})
        favorite {string} -- favorite of document (default: {None})

    Returns:
        dictionary -- document  data in dictionary
    """

    return {
        'docID': doc_id,
        'root': root,
        'date': date,
        'author': author,
        'text': text,
        'favorite': favorite
    }