a327d03ca5a5cec35fa40fc9e48a2f407258f96e,allennlp/service/predictors/semantic_role_labeler.py,SemanticRoleLabelerPredictor,predict_json,#SemanticRoleLabelerPredictor#Any#Any#,156

Before Change


                    "tags": tags,
            })

        results["tokens"] = results["words"]
        return sanitize(results)

After Change


        results["verbs"] = []

        if not instances:
            return sanitize(results)

        outputs = self._model.forward_on_instances(instances, cuda_device)

        for output, verb in zip(outputs, verbs_for_instances):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: allenai/allennlp
Commit Name: a327d03ca5a5cec35fa40fc9e48a2f407258f96e
Time: 2018-03-21
Author: markn@allenai.org
File Name: allennlp/service/predictors/semantic_role_labeler.py
Class Name: SemanticRoleLabelerPredictor
Method Name: predict_json


Project Name: allenai/allennlp
Commit Name: 5d3828219d1afc9c6018a9f3779a7a7768ed7e15
Time: 2018-06-26
Author: markn@allenai.org
File Name: allennlp/predictors/semantic_role_labeler.py
Class Name: SemanticRoleLabelerPredictor
Method Name: predict_json


Project Name: allenai/allennlp
Commit Name: a327d03ca5a5cec35fa40fc9e48a2f407258f96e
Time: 2018-03-21
Author: markn@allenai.org
File Name: allennlp/service/predictors/semantic_role_labeler.py
Class Name: SemanticRoleLabelerPredictor
Method Name: predict_batch_json