Overview
| Comment: | [fr] build_data: print() commenté |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fr |
| Files: | files | file ages | folders |
| SHA3-256: |
20653fa7f3a5d24b147c04be7ffc639c |
| User & Date: | olr on 2017-06-24 05:46:59 |
| Other Links: | manifest | tags |
Context
|
2017-06-24
| ||
| 07:35 | [core][build] options according to context (applications) check-in: 245cd4631d user: olr tags: trunk, core, new_feature | |
| 05:46 | [fr] build_data: print() commenté check-in: 20653fa7f3 user: olr tags: trunk, fr | |
| 05:45 | [fr] phonet_simil: corrections check-in: 44d1f11da4 user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/build_data.py from [34a6d30bf3] to [3f80b32195].
| ︙ | ︙ | |||
273 274 275 276 277 278 279 |
lWord = sLine.strip().split()
aMore = set()
for sWord in lWord:
if sWord.endswith("er") and conj.isVerb(sWord):
aMore = aMore.union(conj.getConjSimilInfiV1(sWord))
lWord.extend(list(aMore))
lSet.append(sorted(set(lWord)))
| | | 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 |
lWord = sLine.strip().split()
aMore = set()
for sWord in lWord:
if sWord.endswith("er") and conj.isVerb(sWord):
aMore = aMore.union(conj.getConjSimilInfiV1(sWord))
lWord.extend(list(aMore))
lSet.append(sorted(set(lWord)))
#print(lWord)
# dictionary of words
dWord = {}
for i, aSet in enumerate(lSet):
for sWord in aSet:
if oDict.lookup(sWord):
dWord[sWord] = i # warning, what if word in several sets?
else:
|
| ︙ | ︙ |