#NEWLINE# def test_tag( self ) : #NEWLINE# #INDENT# tags = self . tagger . tag ( self . text ) #NEWLINE# assert_equal ( self , [ ( 'Simple' , 'NN' ) , ( 'is' , 'VBZ' ) , ( 'better' , 'JJR' ) , ( 'than' , 'IN' ) , ( 'complex' , 'JJ' ) , ( '.' , '.' ) , ( 'Complex' , 'NNP' ) , ( 'is' , 'VBZ' ) , ( 'better' , 'JJR' ) , ( 'than' , 'IN' ) , ( 'complicated' , 'VBN' ) , ( '.' , '.' ) ] )