From 38aa8600c93441e269a52da5b6509e9e5c75bfaf Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Mon, 27 Jul 2009 22:22:24 -0400 Subject: [PATCH] synchronized text and plural5.py example file --- generators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators.html b/generators.html index 558b8ec..a24ce40 100755 --- a/generators.html +++ b/generators.html @@ -301,7 +301,7 @@ rules = [] pattern, search, replace = line.split(None, 3) yield build_match_and_apply_functions(pattern, search, replace) -def plural(noun): +def plural(noun, rules_filename='plural5-rules.txt'): for matches_rule, apply_rule in rules(): if matches_rule(noun): return apply_rule(noun)