def add_load_data_args(parser):
    """Adds common data loader arguments to arg parser"""
    platforms = ['telegram', 'whatsapp', 'messenger', 'hangouts']
    parser.add_argument('-p', '--platforms', default=platforms, choices=platforms, nargs='+', help='Use data only from certain platforms')
    parser.add_argument('--filter-conversation', dest='filter_conversation', nargs='+', default=[], help='Limit by conversations with this person/group')
    parser.add_argument('--filter-sender', dest='filter_sender', nargs='+', default=[], help='Limit by messages by this sender')
    parser.add_argument('--remove-conversation', dest='remove_conversation', nargs='+', default=[], help='Remove messages by these senders/groups')
    parser.add_argument('--remove-sender', dest='remove_sender', nargs='+', default=[], help='Remove all messages by this sender')
    parser.add_argument('--outgoing-only', dest='outgoing_only', action='store_true', help='Limit by outgoing messages')
    parser.add_argument('--incoming-only', dest='incoming_only', action='store_true', help='Limit by incoming messages')
    parser.add_argument('--lang', nargs='+', default=[], help='Limit by detected languages')
    parser.add_argument('--contains-keyword', dest='contains_keyword', nargs='+', default=[],
                        help='Limit by messages which contain certain keywords (multiple keywords are used with OR logic)')
    return parser