386dabb6b27b3707fc6ce7eb8e284d0b81ffd8dc,hazm/DependencyParser.py,DependencyParser,tagged_batch_parse,#DependencyParser#Any#Any#,17
Before Change
if self._execute(cmd, verbose) != 0:
raise Exception("MaltParser parsing failed: %s" % (" ".join(cmd)))
return DependencyGraph.load(output_file)
if __name__ == "__main__":
import doctest
After Change
raise Exception("MaltParser parsing failed: %s" % (" ".join(cmd)))
with codecs.open(output_filename, encoding="utf8") as output_file:
return [DependencyGraph(item) for item in output_file.read().split("\n\n") ]
if __name__ == "__main__":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: sobhe/hazm
Commit Name: 386dabb6b27b3707fc6ce7eb8e284d0b81ffd8dc
Time: 2013-12-13
Author: alireza.nournia@gmail.com
File Name: hazm/DependencyParser.py
Class Name: DependencyParser
Method Name: tagged_batch_parse
Project Name: dPys/PyNets
Commit Name: 1707d2835528e8c1c7f927fdcd9e577871413371
Time: 2019-11-19
Author: dpisner@utexas.edu
File Name: pynets/fmri/estimation.py
Class Name:
Method Name: extract_ts_coords
Project Name: autorope/donkeycar
Commit Name: b85a210e72d4333b71c72f33b905de0ad0070c17
Time: 2017-02-18
Author: wroscoe@gmail.com
File Name: scripts/train.py
Class Name:
Method Name: