mkdigitalgmbh commited on
Commit
710f14c
·
verified ·
1 Parent(s): dca54f0

Add label mapping

Browse files
Files changed (1) hide show
  1. label_mapping.json +44 -0
label_mapping.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label_to_id": {
3
+ "O": 0,
4
+ "B-MerchantName": 1,
5
+ "I-MerchantName": 2,
6
+ "B-MerchantAddress": 3,
7
+ "I-MerchantAddress": 4,
8
+ "B-TransactionDate": 5,
9
+ "I-TransactionDate": 6,
10
+ "B-Currency": 7,
11
+ "I-Currency": 8,
12
+ "B-Total": 9,
13
+ "I-Total": 10,
14
+ "B-TotalTax": 11,
15
+ "I-TotalTax": 12,
16
+ "B-InvoiceNumber": 13,
17
+ "I-InvoiceNumber": 14,
18
+ "B-Subtotal": 15,
19
+ "I-Subtotal": 16,
20
+ "B-LineItems": 17,
21
+ "I-LineItems": 18
22
+ },
23
+ "id_to_label": {
24
+ "0": "O",
25
+ "1": "B-MerchantName",
26
+ "2": "I-MerchantName",
27
+ "3": "B-MerchantAddress",
28
+ "4": "I-MerchantAddress",
29
+ "5": "B-TransactionDate",
30
+ "6": "I-TransactionDate",
31
+ "7": "B-Currency",
32
+ "8": "I-Currency",
33
+ "9": "B-Total",
34
+ "10": "I-Total",
35
+ "11": "B-TotalTax",
36
+ "12": "I-TotalTax",
37
+ "13": "B-InvoiceNumber",
38
+ "14": "I-InvoiceNumber",
39
+ "15": "B-Subtotal",
40
+ "16": "I-Subtotal",
41
+ "17": "B-LineItems",
42
+ "18": "I-LineItems"
43
+ }
44
+ }