Permalink
Browse files

bug fix for lowercase tenses in TENSES

  • Loading branch information...
tom-de-smedt committed Oct 1, 2012
1 parent c0e944c commit 94212f984e5310c8c082b8b47755118db03f54e6
Showing with 6 additions and 6 deletions.
  1. +6 −6 pattern/text/en/inflect/__init__.py
@@ -656,24 +656,24 @@ def singularize(word, pos=NOUN, custom={}):
# The aliases can be passed to conjugate() and Tenses.__contains__().
TENSES = {
None: (None, (None,)),
- 0: (INFINITIVE, ("i", "inf", "VB")),
- 1: (PRESENT_1ST_PERSON_SINGULAR, ("1sg", "VBP")),
+ 0: (INFINITIVE, ("i", "inf", "vb")),
+ 1: (PRESENT_1ST_PERSON_SINGULAR, ("1sg", "vbp")),
2: (PRESENT_2ND_PERSON_SINGULAR, ("2sg",)),
- 3: (PRESENT_3RD_PERSON_SINGULAR, ("3sg", "VBZ")),
+ 3: (PRESENT_3RD_PERSON_SINGULAR, ("3sg", "vbz")),
4: (PRESENT_1ST_PERSON_PLURAL, ("1pl",)),
5: (PRESENT_2ND_PERSON_PLURAL, ("2pl",)),
6: (PRESENT_3RD_PERSON_PLURAL, ("3pl",)),
7: (PRESENT_PLURAL, ("pl", "plural")),
- 8: (PRESENT_PARTICIPLE, ("g", "gerund", "part", "prog", "progressive", "VBG")),
+ 8: (PRESENT_PARTICIPLE, ("g", "gerund", "part", "prog", "progressive", "vbg")),
9: (PAST_1ST_PERSON_SINGULAR, ("1sgp",)),
10: (PAST_2ND_PERSON_SINGULAR, ("2sgp",)),
11: (PAST_3RD_PERSON_SINGULAR, ("3sgp",)),
12: (PAST_1ST_PERSON_PLURAL, ("1ppl", "1plp")),
13: (PAST_2ND_PERSON_PLURAL, ("2ppl", "2plp")),
14: (PAST_3RD_PERSON_PLURAL, ("3ppl", "3plp")),
15: (PAST_PLURAL, ("ppl", "plp", "pplural")),
- 16: (PAST_PARTICIPLE, ("gp", "pg", "ppart", "VBN")),
- 17: (PAST, ("p", "past", "VBD")),
+ 16: (PAST_PARTICIPLE, ("gp", "pg", "ppart", "vbn")),
+ 17: (PAST, ("p", "past", "vbd")),
18: (IMPERATIVE_1ST_PERSON_SINGULAR, ("1sg!", "i1sg")),
19: (IMPERATIVE_2ND_PERSON_SINGULAR, ("2sg!", "i2sg")),
20: (IMPERATIVE_3RD_PERSON_SINGULAR, ("3sg!", "i3sg")),

0 comments on commit 94212f9

Please sign in to comment.