def filter_paragraphs_without_ref_tags(segment):
    """Check to see if we have at least 10 words and no refs"""
    words = 0
    refs = 0
    for t in segment.tokens():
        words += t.type == 'word'
        refs += t.type in ('ref_open', 'ref_close', 'ref_singleton')
    return words > 10 and refs == 0
