Inference. Since the target value may contain multiple words, we group nearby OCR words horizontally as value candidates, \(\lbrace g_1, g_2, ..., g_D\rbrace \) , based on their locations using DBSCAN algorithm [1]}, where \(D\)  is the number of grouped candidates. The value score of each candidate, \(g_r\) , is the maximum of all its covered words as
\(\mathbf {S}_r = \max _{w_j \in g_r} \mathbf {s}_j,\) 
