parse arguments

def parse_args():
    """ parse arguments"""
    ap = argparse.ArgumentParser()
    ap.add_argument("directory", help="where the labeled data is saved")
    ap.add_argument("output", help="the drectory to save files")
    return ap.parse_args()