File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 7070 fclose ($ pipes [0 ]);
7171
7272 $ csv = stream_get_contents ($ pipes [1 ]);
73- echo '<p><label>Response — <a href="http://ilk.uvt.nl/conll/#dataformat">CoNLL-X</a> (CSV):</label></p> ' ;
74- echo "<pre> $ csv</pre> " ;
7573
7674 $ return_value = proc_close ($ process );
7775// echo '<p><label>Val:</label></p>';
8583
8684<p><label>Processed response:</label></p>
8785
88- </div>
86+ <div id="tree">< /div>
8987
9088<script>
9189
104102var diagonal = d3.svg.diagonal()
105103 .projection(function(d) { return [d.y, d.x]; });
106104
107- var svg = d3.select("body ").append("svg")
105+ var svg = d3.select("#tree ").append("svg")
108106 .attr("width", width + margin.right + margin.left)
109107 .attr("height", height + margin.top + margin.bottom)
110108 .append("g")
@@ -230,6 +228,12 @@ function click(d) {
230228
231229</script>
232230
231+ <?php
232+ echo '<p><label>Response — <a href="http://ilk.uvt.nl/conll/#dataformat">CoNLL-X</a> (CSV):</label></p> ' ;
233+ echo "<pre> $ csv</pre> " ;
234+ ?>
235+
236+ </div>
233237
234238 </body>
235239</html>
You can’t perform that action at this time.
0 commit comments