wenwenyu / PICK-pytorch

Code for the paper "PICK: Processing Key Information Extraction from Documents using Improved Graph Learning-Convolutional Networks" (ICPR 2020)
https://arxiv.org/abs/2004.07464
MIT License
553 stars 191 forks source link

Regarding post Processing #61

Open ninjakx opened 3 years ago

ninjakx commented 3 years ago

Output for file 004.txt:

address LOT 1851-A & 1851-B\, JALAN KPB 6,addressKAWASAN PERINDUSTRIAN BALAKONG,address43300 SERI KEMBANGAN\, SELANGOR,address
address WA45 /2A - 12,other1,other
address WA44-A - 12,other1
address 9555916500126,othe
address 43-A - 24,other1,other11.23,other079567600084,otherX,other11.23,other
address 090822,othe
address .91,other
date    18-11-18

Can you provide some intuition or resource how to post preprocess it so as to store it in key and value form in json format?