Skip to content

Commit

Permalink
plural resp1
Browse files Browse the repository at this point in the history
  • Loading branch information
tomviner committed Jul 7, 2011
1 parent bf6347c commit 110db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eliza.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def response_stock(parts):

def response_noun1(parts):
if 'NN' in parts:
return "Why do you like %s?" % random.choice(parts['NN'])
return "Why do you like %ss?" % random.choice(parts['NN'])

def response_nouns1(parts):
if 'NNS' in parts:
Expand Down

0 comments on commit 110db30

Please sign in to comment.