#NEWLINE# def doublec( self , j ) : #NEWLINE# #INDENT# ' True iff j, j-1 contains double consonant ' #NEWLINE# if ( ( j < 1 ) or ( self . b [ self ] != self . b [ ( j - 1 ) ] ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return self . cons ( j )