Added mentioned post requests, made it so that the response body is a clear json (as requested) in case the response is a json, fixed decimal bug, updated swagger templates and json

This commit is contained in:
Kikimanox
2022-11-29 17:14:40 +01:00
parent 3c2577a5d6
commit 911bc8f0c9
6 changed files with 802 additions and 297 deletions
+2 -1
View File
@@ -172,7 +172,8 @@ def vrni_oss_terminoloske_kandidate(leta, vrste, kljucne_besede, prepovedane_bes
0.0, # ????????
0.0 # ??????
],
'pogostostpojavljanja': [tf, 0] # ???????
# 'pogostostpojavljanja': [tf 0.0] # ???????
'pogostostpojavljanja': int(tf)
}
for upos,ngram,tfidf,tf in cur
]}