question: public DataFrame toDataFrame ( JavaSparkContext jsc , DependencyGraph graph , FeatureFrame featureFrame ) { List < ParsingContext > list = TransitionDecoder . decode ( graph , featureFrame ) ; JavaRDD < ParsingContext > javaRDD = jsc . parallelize ( list ) ; return sqlContext . createDataFrame ( javaRDD , ParsingContext . class ) ; }
target:  Converts a dependency graph to a data frame.