

def test_mlt_on_tag(self):
    'Verify MLT with the tag field.'
    mlt = MLT(1, self.get_s(), ['tag'], min_term_freq=1, min_doc_freq=1)
    eq_(len(mlt), 2)

dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py MoreLikeThisTest.test_mlt_on_tag/original