Overview
Comment: | [build][fr] build_data.py: fix build for JS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fr | build |
Files: | files | file ages | folders |
SHA3-256: |
6bc8dab4c245d632b63ebb307a854076 |
User & Date: | olr on 2020-04-29 19:05:36 |
Other Links: | manifest | tags |
Context
2020-04-29
| ||
19:09 | [fr] test: ajustements check-in: c194ff43dd user: olr tags: trunk, fr | |
19:05 | [build][fr] build_data.py: fix build for JS check-in: 6bc8dab4c2 user: olr tags: trunk, fr, build | |
17:16 | [build][fr] phonet simil: merge sets if words belongs to several sets check-in: f82c3ce70e user: olr tags: trunk, fr, build | |
Changes
Modified gc_lang/fr/build_data.py from [ce4f084f4e] to [6e865955c0].
︙ | ︙ | |||
314 315 316 317 318 319 320 321 322 323 324 325 326 327 | iSet = dWord[sWord] lNewSet.append(lSet[iSet].union(aSet)) dWord[sWord] = len(lSet) + nAppend nAppend += 1 else: echo(f" Mot inconnu : <{sWord}>") lSet.extend(lNewSet) print(" Mots appartenant à plusieurs ensembles: ", ", ".join(aMultiSetWord)) # dictionary of morphologies dMorph = {} for sWord in dWord: dMorph[sWord] = oDict.getMorph(sWord) | > | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | iSet = dWord[sWord] lNewSet.append(lSet[iSet].union(aSet)) dWord[sWord] = len(lSet) + nAppend nAppend += 1 else: echo(f" Mot inconnu : <{sWord}>") lSet.extend(lNewSet) lSet = [ sorted(aSet) for aSet in lSet ] print(" Mots appartenant à plusieurs ensembles: ", ", ".join(aMultiSetWord)) # dictionary of morphologies dMorph = {} for sWord in dWord: dMorph[sWord] = oDict.getMorph(sWord) |
︙ | ︙ |