Skip to content
GitLab
Menu
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
d52b3df1
Commit
d52b3df1
authored
Feb 28, 2021
by
Sylvain Coulange
Browse files
passage au modèle moyen du français pour optimiser liaisons
parent
b4d463b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
colorapp/views.py
View file @
d52b3df1
...
...
@@ -5,7 +5,7 @@ from django.http import JsonResponse
from
.liaisons
import
*
import
json
,
spacy
,
subprocess
,
re
nlpFr
=
spacy
.
load
(
'fr_core_news_
s
m'
)
nlpFr
=
spacy
.
load
(
'fr_core_news_m
d
'
)
nlpEn
=
spacy
.
load
(
"en_core_web_sm"
)
nlpZh
=
spacy
.
load
(
"zh_core_web_sm"
)
logFile
=
"../logs/dico_frwiktionary-20200301_v2.log"
...
...
Write
Preview
Supports
Markdown
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