def parse_args():
    parser = argparse.ArgumentParser(description='Generate training and test set of FUNSD ')
    parser.add_argument('root_path', help='Root dir path of FUNSD')
    parser.add_argument('--nproc', default=1, type=int, help='Number of process')
    args = parser.parse_args()
    return args
def parse_args():
    parser = argparse.ArgumentParser(description='Generate training and test set of FUNSD ')
    parser.add_argument('root_path', help='Root dir path of FUNSD')
    parser.add_argument('--nproc', default=1, type=int, help='Number of process')
    args = parser.parse_args()
    return args