77b7a88b5a791decf06c2cc9951ef68ef0062771,extractors/answer_present.py,,,#,123

Before Change



if __name__ == "__main__":
    import time, argparse
    parser = argparse.ArgumentParser(description= "Checks if Title is present in Question Text")
    parser.add_argument("--gender_db", default = "data/questions.db", help = \
    "Name of db containing gender information of titles")
    parser.add_argument("--gender_table", default = "questions", help = \
    "Name of table in db containing gender information of titles")


    flags = parser.parse_args()

    tests = {}
    tests[u"A"] = uCole sought out the pope to
    seek forgiveness of her sins, only to be told that just as the pope"s staff

After Change


            start = time.time()
            print(gg, ge.vw_from_title(gg, tests[ii]))
            elapsed = time.time() - start
            print("%f secs" % (elapsed))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 15

Instances


Project Name: Pinafore/qb
Commit Name: 77b7a88b5a791decf06c2cc9951ef68ef0062771
Time: 2015-08-24
Author: jordanbg@gmail.com
File Name: extractors/answer_present.py
Class Name:
Method Name:


Project Name: Pinafore/qb
Commit Name: 77b7a88b5a791decf06c2cc9951ef68ef0062771
Time: 2015-08-24
Author: jordanbg@gmail.com
File Name: extractors/answer_present.py
Class Name:
Method Name:


Project Name: haotianteng/Chiron
Commit Name: 7645a5a90740ad0f9222620d8eda5c9a6544011c
Time: 2018-04-29
Author: neven.miculinic@gmail.com
File Name: chiron/chiron_eval.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: 22a669d6c8ebe29114c72e4cebe900d599a15201
Time: 2018-07-20
Author: ray.yuan0@gmail.com
File Name: research/a3c_blogpost/a3c_cartpole.py
Class Name:
Method Name: