bd40892dbbf206c5e12b8dde5782f75cf71fdf9c,conceptnet5/readers/wiktionary_en.py,,,#,320

Before Change


    parser.setContentHandler(dh)

    // Parse the input
    parser.parse(open(sys.argv[1]))

After Change



if __name__ == "__main__":
    import argparse
    parser = argparse.ArgumentParser()
    parser.add_argument("input", help="XML file of input")
    parser.add_argument("output", help="JSON-stream file to output to")
    args = parser.parse_args()
    process_wiktionary(args.input, args.output)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: commonsense/conceptnet5
Commit Name: bd40892dbbf206c5e12b8dde5782f75cf71fdf9c
Time: 2014-03-03
Author: rob@luminoso.com
File Name: conceptnet5/readers/wiktionary_en.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 8079adae33711e4886a625df3f0ae9860739f7b9
Time: 2019-09-03
Author: yuhanliu@google.com
File Name: example_zoo/tools/process.py
Class Name:
Method Name:


Project Name: commonsense/conceptnet5
Commit Name: bd40892dbbf206c5e12b8dde5782f75cf71fdf9c
Time: 2014-03-03
Author: rob@luminoso.com
File Name: conceptnet5/readers/wiktionary_en.py
Class Name:
Method Name:


Project Name: metalbubble/moments_models
Commit Name: 70e4855f5608c4481dfffd5f762e310d631d06c3
Time: 2020-10-09
Author: mmonfort@mit.edu
File Name: test_model_CAM.py
Class Name:
Method Name: