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
GrammaColor
Commits
b29234db
Commit
b29234db
authored
Nov 29, 2020
by
Sylvain Coulange
Browse files
models →lg pour i3l
parent
c7101a2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
grammacolorapp/views.py
View file @
b29234db
...
...
@@ -2,8 +2,8 @@ from django.shortcuts import render
from
django.http
import
JsonResponse
import
re
,
json
,
spacy
,
subprocess
nlpFr
=
spacy
.
load
(
'fr_core_news_
md
'
)
nlpZh
=
spacy
.
load
(
'zh_core_web_
md
'
)
nlpFr
=
spacy
.
load
(
'fr_core_news_
lg
'
)
nlpZh
=
spacy
.
load
(
'zh_core_web_
lg
'
)
def
home
(
request
):
updateTimeStr
=
updateTime
()
...
...
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