2316042eeaaf5fdc80bff126b19e915757a2796b,synonyms/__init__.py,,main,#,129

Before Change



def main():
    print("人脸", nearby("人脸"))
    print("识别", nearby("识别"))
    print("OOV", nearby("NOT_EXIST"))

if __name__ == "__main__":
    main()

After Change


        print("  %d. %s:%s" %(k+1, v, o[1][k]))

def main():
    display("人脸")

if __name__ == "__main__":
    main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: huyingxi/Synonyms
Commit Name: 2316042eeaaf5fdc80bff126b19e915757a2796b
Time: 2017-10-17
Author: hailiang.hl.wang@gmail.com
File Name: synonyms/__init__.py
Class Name:
Method Name: main


Project Name: pymc-devs/pymc3
Commit Name: 9ef50183c43700fea3bfbacaa70b2283631373e8
Time: 2013-04-14
Author: jsalvatier@gmail.com
File Name: pymc/progressbar.py
Class Name: ProgressBar
Method Name: animate_ipython


Project Name: PIQuIL/QuCumber
Commit Name: f0a81e2d218aa41b538de5e5cfebcc149f758dc5
Time: 2018-07-20
Author: gtorlai@uwaterloo.ca
File Name: examples/rbm_tutorial.py
Class Name: BinomialRBM
Method Name: fit