def calc_PnPs(counts):
if counts['<STR_LIT>'] == <NUM_LIT:0> or counts['<STR_LIT>'] == <NUM_LIT:0>:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>NonSyn = float(counts['<STR_LIT>'])/float(counts['<STR_LIT>'])<EOL>Syn    = float(counts['<STR_LIT>'])    /float(counts['<STR_LIT>'])<EOL>if Syn == <NUM_LIT:0>:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return NonSyn/Syn<EOL>
counts = {'obs syn':#, 'pos syn':#, 'obs non-syn':#, 'pos non-syn':#}