#NEWLINE# def get_tags( lang ) : #NEWLINE# #INDENT# ( content , verbs , nouns , pronouns ) = ( defaultdict ( list ) , defaultdict ( list ) , defaultdict ( list ) , defaultdict ( list ) ) #NEWLINE# content [ 'english' ] = [ 'JJ' , 'RB' , 'NN' , 'VB' ] #NEWLINE# content [ 'spanish' ] = [ 'ADJ' , 'ADV' , 'NC' , 'NMEA' , 'NMON' , 'NP' , 'VL' ] #NEWLINE# content [ 'german' ] = [ 'ADJ' , 'ADV' , 'NN' , 'NE' , 'VA' , 'VV' , 'VM' ] #NEWLINE# verbs [ 'english' ] = [ 'VB' ] #NEWLINE# verbs [ 'spanish' ] = [ 'VL' ] #NEWLINE# verbs [ 'german' ] = [ 'VA' , 'VV' , 'VM' ] #NEWLINE# nouns [ 'english' ] = [ 'NN' ] #NEWLINE# nouns [ 'spanish' ] = [ 'NC' , 'NMEA' , 'NMON' , 'NP' ] #NEWLINE# nouns [ 'german' ] = [ 'NN' , 'NE' ] #NEWLINE# pronouns [ 'english' ] = [ 'PP' , 'WP$' ] #NEWLINE# pronouns [ 'spanish' ] = [ 'DM' , 'INT' , 'PP' , 'REL' ] #NEWLINE# pronouns [ 'german' ] = [ 'PPOS' , 'PD' , 'PI' , 'PREL' , 'PW' , 'PAV' ] #NEWLINE# return ( content [ lang ] , nouns [ lang ] , verbs [ lang ] , pronouns [ lang ] )