def positive(s, threshold=0.1, **kwargs):
 return (polarity(unicode(s), **kwargs) >= threshold)

def positive ( s , threshold = 0.1 , ** kwargs ) : return ( polarity ( unicode ( s ) , ** kwargs ) >= threshold )
restrict input type to the positive integers .