Grammalecte  Check-in [ace3220f34]

Overview
Comment:[fr][py][bug] conj generator: forgotten parameter
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fr | multid
Files: files | file ages | folders
SHA3-256: ace3220f34cd8a57e58fcc3feee4fd01252cb6d48beced8c1ef9dde8971d6012
User & Date: olr on 2018-03-11 19:15:11
Other Links: branch diff | manifest | tags
Context
2018-03-11
21:57
[fr][py][bug] conj generator: nissing else check-in: 67790bd50d user: olr tags: fr, multid
19:15
[fr][py][bug] conj generator: forgotten parameter check-in: ace3220f34 user: olr tags: fr, multid
19:14
[fr][js][bug] conj generator: forgotten parameter check-in: 4b78e35e83 user: olr tags: fr, multid
Changes

Modified gc_lang/fr/modules/conj_generator.py from [db023176bc] to [f5ebd235af].

     3      3   
     4      4   import re
     5      5   
     6      6   
     7      7   def conjugate (sVerb, sVerbTag="i_____a", bVarPpas=True):
     8      8       lConj = []
     9      9       cGroup = getVerbGroupChar(sVerb)
    10         -    for nCut, sAdd, sFlexTags, sPattern in getConjRules(sVerb):
           10  +    for nCut, sAdd, sFlexTags, sPattern in getConjRules(sVerb, bVarPpas):
    11     11           if not sPattern or re.search(sPattern, sVerb):
    12     12               lConj.append((sVerb[0:-nCut]+sAdd, ":V" + cGroup + "_" + sVerbTag + sFlexTags))
    13     13       return lConj
    14     14   
    15     15   
    16     16   def getVerbGroupChar (sVerb, ):
    17     17       sVerb = sVerb.lower()