a651b0632f8f9ac9dbcff6c041d29e886ce54bd1,scripts/restruct.py,,main,#Any#,32

Before Change


    parser.add_argument("--graph_out", nargs="?", type=str, default="",
        help="HTML graphical output filename.")
    // parser.add_argument("--abduction", action="store_true", default=False)
    parser.add_argument("--abduction", nargs="?", type=str, default="no",
        choices=["no", "naive", "spsa"],
        help="Activate on-demand axiom injection (default: no axiom injection).")
    parser.add_argument("--gold_trees", action="store_true", default=False)
    args = parser.parse_args()

    logging.basicConfig(level=logging.WARNING)

After Change


                        l = json.loads(line.strip())
                    except ValueError:
                        l = {"label" : line.strip()}
                    labels.append(l)
        else:
            print("File does not exist: {0}. Not using labels.".format(
                args.doc_labels), file=sys.stderr)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: mynlp/ccg2lambda
Commit Name: a651b0632f8f9ac9dbcff6c041d29e886ce54bd1
Time: 2017-05-30
Author: pascual@nii.ac.jp
File Name: scripts/restruct.py
Class Name:
Method Name: main


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: b58d873bc4344117bf8a2b42651e9acb5aeddb4e
Time: 2018-01-22
Author: chek.o@outlook.com
File Name: predict.py
Class Name:
Method Name: main


Project Name: arnomoonens/yarll
Commit Name: b18b7a13d42740f71e16c8a76018ea4013dc4863
Time: 2017-04-07
Author: x-006@hotmail.com
File Name: scripts/run_model.py
Class Name:
Method Name: