def get_child()

in deploy_code/multipagepdfa2i_analyzepdf/clean_data.py [0:0]


def get_child(relation, line, word):
    text = ""
    for id in relation["Ids"]:
        if id in line:
            text = line[id]
        else:
            text += " " + word[id]
    if text[0] == " ":
        text = text[1:]
    return text