in deploy_code/multipagepdfa2i_humancomplete/clean_data.py [0:0]
def extract_value(value, kv, line, word):
for val in value:
try:
text = ""
for relation in kv[val]["relationships"]:
if relation["type"] == "CHILD":
text = get_child(relation, line, word)
return text
except:
return "UNKNOWN"