Commit 8edd3fba authored by Sylvain Coulange's avatar Sylvain Coulange

changement de fonte pour le mandarin : KaiTi

parent 7e5abd44
......@@ -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_lg')
nlpZh = spacy.load('zh_core_web_lg')
nlpFr = spacy.load('fr_core_news_md')
nlpZh = spacy.load('zh_core_web_md')
def home(request):
updateTimeStr = updateTime()
......
......@@ -38,7 +38,7 @@ async function runSpacy() {
// AFFICHAGE DU RÉSULTAT
var result = "";
var stylesCommuns = "font-family: Palatino, Times, Calibri; font-size: 35pt; font-weight: bold; background-color: black;";
var stylesCommuns = "font-family: Palatino, Times, KaiTi, Calibri; font-size: 35pt; font-weight: bold; background-color: black;";
var stylesUnderline = "text-decoration: underline; text-decoration-thickness: 6px;";
for (i=0; i<data.outText.length; i++) {
......
......@@ -37,7 +37,7 @@ var langJson = {
},
"sp_resultat": {
"fr": "Résultats :",
"zh": "成果"
"zh": "成果:"
},
"ti_btntags": {
"fr": "Afficher/masquer les catégories au survol de la souris",
......
......@@ -18,7 +18,7 @@
body {
background-image: url(../im/arriereplan.gif);
background-color: rgba(255, 255, 255, 0.5);
font-family: Palatino, SimSun, Times, Calibri;
font-family: Palatino, Times, KaiTi, Calibri;
font-size: 14pt;
text-align: center;
padding: 0px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment