a2d8238250e6c18e25b5aa3123a7b6ec367613f7,language/movie_nl/main_test.py,,test_process_movie_reviews,#,52

Before Change




def test_process_movie_reviews():
    service = main.get_service()

    doc1 = main.Document("Top Gun was awesome and Tom Cruise rocked!", "doc1",
                         "doc1")
    doc2 = main.Document("Tom Cruise is a great actor.", "doc2", "doc2")

After Change




def test_process_movie_reviews():
    service = googleapiclient.discovery.build("language", "v1")

    doc1 = main.Document("Top Gun was awesome and Tom Cruise rocked!", "doc1",
                         "doc1")
    doc2 = main.Document("Tom Cruise is a great actor.", "doc2", "doc2")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a2d8238250e6c18e25b5aa3123a7b6ec367613f7
Time: 2017-02-16
Author: jonwayne@google.com
File Name: language/movie_nl/main_test.py
Class Name:
Method Name: test_process_movie_reviews


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a2d8238250e6c18e25b5aa3123a7b6ec367613f7
Time: 2017-02-16
Author: jonwayne@google.com
File Name: language/api/analyze.py
Class Name:
Method Name: analyze_entities


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a2d8238250e6c18e25b5aa3123a7b6ec367613f7
Time: 2017-02-16
Author: jonwayne@google.com
File Name: language/api/analyze.py
Class Name:
Method Name: analyze_sentiment


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a2d8238250e6c18e25b5aa3123a7b6ec367613f7
Time: 2017-02-16
Author: jonwayne@google.com
File Name: language/api/analyze.py
Class Name:
Method Name: analyze_syntax


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a2d8238250e6c18e25b5aa3123a7b6ec367613f7
Time: 2017-02-16
Author: jonwayne@google.com
File Name: language/movie_nl/main.py
Class Name:
Method Name: analyze