def syntactic_parsing_only(self, document):
        # syntactic parsing was added after the first release, so we need to
        # provide the ability of doing just this on documents that
        # have all the steps done but syntactic parsing
        analysis = StanfordAnalysis(self.corenlp.analyse(document.text))
        parse_trees = analysis.get_parse_trees()
        document.set_syntactic_parsing_result(parse_trees)
        document.save()
Run only the syntactic parsing
dataset/ETHPy150Open machinalis/iepy/iepy/preprocess/stanford_preprocess.py/StanfordPreprocess.syntactic_parsing_only