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
res.append(doc)
doc.set("id", "d" + str(i))
if labels:
for name, value in labels[i].items():
doc.set(name, value)
sentences = etree.Element("sentences")
doc.append(sentences)
sentences.append(sentences_orig[i * 2])
sentences.append(sentences_orig[i * 2 + 1])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: eriklindernoren/PyTorch-YOLOv3
Commit Name: ac7bb33dd978e2bf6ecb0cf055dd6bf6c9c1ea05
Time: 2019-04-19
Author: eriklindernoren@live.se
File Name: train.py
Class Name:
Method Name:
Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 7a54edbd3eda8be28b8db03289acb354b6d21e06
Time: 2018-02-13
Author: zhaohang0124@gmail.com
File Name: test.py
Class Name:
Method Name: