Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
wikicolor
Commits
e94c64ee
Commit
e94c64ee
authored
Sep 10, 2021
by
Sylvain Coulange
Browse files
bug n'apparait plus ce matin, on remet tout en place (customPhon désactivé)
parent
1277367d
Changes
2
Hide whitespace changes
Inline
Side-by-side
colorapp/textPhonographer.py
View file @
e94c64ee
...
...
@@ -81,7 +81,7 @@ def getLenDic(lang):
##### MISE EN MÉMOIRE DES DICTIONNAIRES (seulement les transcriptions+regions)
def
makeWord2trans
(
alemDic
):
query
=
alemDic
.
find
().
limit
(
1000
)
query
=
alemDic
.
find
()
#
.limit(1000)
word2trans
=
{}
cpt
=
0
for
q
in
query
:
...
...
@@ -108,9 +108,9 @@ print("Mise en mémoire de dicoEn...")
word2transEn
=
makeWord2trans
(
dicoEn
)
print
(
"Nombre d'entrées dans AlemDic-dicoEn :"
,
getLenDic
((
'en'
)))
#
print("Mise en mémoire de dicoZh...")
#
word2transZh = makeWord2trans(dicoZh)
#
print("Nombre d'entrées dans AlemDic-dicoZh :", getLenDic('zh'))
print
(
"Mise en mémoire de dicoZh..."
)
word2transZh
=
makeWord2trans
(
dicoZh
)
print
(
"Nombre d'entrées dans AlemDic-dicoZh :"
,
getLenDic
(
'zh'
))
########################################
######### LECTURE DES FICHIERS #########
...
...
static/scripts/interface.js
View file @
e94c64ee
...
...
@@ -149,7 +149,6 @@ function interface(lang) {
}
else
{
// "fr" par défaut
for
(
i
=
0
;
i
<
langspanList
.
length
;
i
++
)
{
span
=
langspanList
[
i
];
console
.
log
(
span
,
i
);
span
.
innerHTML
=
langJson
[
span
.
id
][
"
fr
"
];
}
for
(
i
=
0
;
i
<
langtitleList
.
length
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment