def test_stem(self): assert_equal(normalize_token("fishes"), "fish") assert_equal(normalize_token("expense"), "expens") assert_equal(normalize_token("expenditure"), "expenditur")
def test_no_change(self): assert_equal(normalize_token("fish"), "fish")
def test_stem_exception(self): assert_equal(normalize_token("hospitality"), "hospitality")
def test_stem_exception(self): assert_equal(normalize_token('hospitality'), 'hospitality')
def test_stem(self): assert_equal(normalize_token('fishes'), 'fish') assert_equal(normalize_token('expense'), 'expens') assert_equal(normalize_token('expenditure'), 'expenditur')
def test_no_change(self): assert_equal(normalize_token('fish'), 'fish')