Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
wikicolor
Commits
1a51b636
Commit
1a51b636
authored
Aug 02, 2022
by
Sylvain Coulange
🌼
Browse files
reactivation ana morpho en zh
parent
eb514090
Changes
1
Hide whitespace changes
Inline
Side-by-side
colorapp/views.py
View file @
1a51b636
...
...
@@ -9,12 +9,12 @@ import json, spacy, subprocess, re
print
(
'Chargement des modèles de langue...'
)
print
(
'fr_core_news_md...'
)
nlpFr
=
spacy
.
load
(
'fr_core_news_md'
)
#
print('en_core_web_sm...')
#
nlpEn = spacy.load("en_core_web_sm")
#
print('zh_core_web_sm...')
#
nlpZh = spacy.load("zh_core_web_sm")
#
print('OK.')
#
logFile = "../logs/dico_frwiktionary-20200301_v2.log"
print
(
'en_core_web_sm...'
)
nlpEn
=
spacy
.
load
(
"en_core_web_sm"
)
print
(
'zh_core_web_sm...'
)
nlpZh
=
spacy
.
load
(
"zh_core_web_sm"
)
print
(
'OK.'
)
logFile
=
"../logs/dico_frwiktionary-20200301_v2.log"
## RÉCUPÉRATION DE LA LISTE DES EXCEPTIONS POUR L'ANGLAIS
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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