def filterPairs()

in Seq2SeqNMT/seq2seq_nmt.py [0:0]


def filterPairs(pairs):
    return [pair for pair in pairs if filterPair(pair)]