def valid_comment()

in data_creation/download_reddit_qalist.py [0:0]


def valid_comment(a):
    res = len(a['body'].split()) > 2 and \
          not a['body'].startswith('Your submission has been removed') and \
          a['author'] != 'AutoModerator' and a['parent_id'] == a['link_id']
    return res