ITSAIDI
commited on
Commit
·
22a7ef9
1
Parent(s):
3e83d63
gh
Browse files- utilitis.py +1 -0
utilitis.py
CHANGED
@@ -105,6 +105,7 @@ def Get_Json(true_predictions,words):
|
|
105 |
for prd in true_predictions:
|
106 |
if prd in ['InvNum','Fourni', 'InvDate','TT','TTC','TVA']:
|
107 |
#print(i,prd,words[i-1])
|
|
|
108 |
Results[prd] = words[i-1]
|
109 |
i+=1
|
110 |
key_mapping = {'InvNum':'Numéro de facture','Fourni':'Fournisseur', 'InvDate':'Date Facture','TT':'Total HT','TTC':'Total TTC','TVA':'TVA'}
|
|
|
105 |
for prd in true_predictions:
|
106 |
if prd in ['InvNum','Fourni', 'InvDate','TT','TTC','TVA']:
|
107 |
#print(i,prd,words[i-1])
|
108 |
+
print(i)
|
109 |
Results[prd] = words[i-1]
|
110 |
i+=1
|
111 |
key_mapping = {'InvNum':'Numéro de facture','Fourni':'Fournisseur', 'InvDate':'Date Facture','TT':'Total HT','TTC':'Total TTC','TVA':'TVA'}
|