Grammalecte  Check-in [4015c58808]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[build][fr] system call for Linux
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr | build
Files: files | file ages | folders
SHA3-256:4015c5880818e16fc9c1a6cc5167c28fa7c1df224bb41e6e5d6505c31a7115b1
User & Date: olr 2020-01-06 16:14:43
Context
2020-01-07
19:37
[fr] faux positif check-in: ebbc98aeaa user: olr tags: fr, trunk
2020-01-06
16:14
[build][fr] system call for Linux check-in: 4015c58808 user: olr tags: build, fr, trunk
16:04
[fr] nr: sgpl en rangs serrés check-in: 90dfcf3620 user: olr tags: fr, trunk
Changes

Changes to gc_lang/fr/build_data.py.

5
6
7
8
9
10
11

12
13
14
15
16
17
18
..
52
53
54
55
56
57
58

59


60
61
62
63
64
65
66
# by Olivier R.
# License: MPL 2

import json
import os
import itertools
import traceback


import graphspell.ibdawg as ibdawg
from graphspell.echo import echo
from graphspell.str_transform import defineSuffixCode
import graphspell.tokenizer as tkz


................................................................................
            oDict = ibdawg.IBDAWG("fr-allvars.bdic")
        except:
            traceback.print_exc()


def makeDictionaries (sp, sVersion):
    with cd(sp+"/dictionnaire"):

        os.system("genfrdic.py -s -gl -v "+sVersion)




def makeConj (sp, bJS=False):
    print("> Conjugaisons ", end="")
    print("(Python et JavaScript)"  if bJS  else "(Python seulement)")
    dVerb = {}
    lVinfo = []; dVinfo = {}; nVinfo = 0







>







 







>
|
>
>







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
..
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# by Olivier R.
# License: MPL 2

import json
import os
import itertools
import traceback
import platform

import graphspell.ibdawg as ibdawg
from graphspell.echo import echo
from graphspell.str_transform import defineSuffixCode
import graphspell.tokenizer as tkz


................................................................................
            oDict = ibdawg.IBDAWG("fr-allvars.bdic")
        except:
            traceback.print_exc()


def makeDictionaries (sp, sVersion):
    with cd(sp+"/dictionnaire"):
        if platform.system() == "Windows":
            os.system("genfrdic.py -s -gl -v "+sVersion)
        else:
            os.system("python3 ./genfrdic.py -s -gl -v "+sVersion)


def makeConj (sp, bJS=False):
    print("> Conjugaisons ", end="")
    print("(Python et JavaScript)"  if bJS  else "(Python seulement)")
    dVerb = {}
    lVinfo = []; dVinfo = {}; nVinfo = 0