{"id":69,"date":"2009-09-19T20:18:27","date_gmt":"2009-09-20T00:18:27","guid":{"rendered":"http:\/\/ling.bu.edu\/blogs\/lx522f09\/2009\/09\/19\/drawing-trees\/"},"modified":"2012-04-07T08:07:05","modified_gmt":"2012-04-07T12:07:05","slug":"drawing-trees","status":"publish","type":"post","link":"https:\/\/ling-blogs.bu.edu\/lx522f09\/2009\/09\/19\/drawing-trees\/","title":{"rendered":"Drawing trees"},"content":{"rendered":"<p>We&#8217;re going to have plenty of opportunities to draw trees during the rest of the semester. If you wish to produce your trees electronically, you have a couple of options.<\/p>\n<p>Here is the easiest I think: Go to <a href=\"http:\/\/ironcreek.net\/phpsyntaxtree\/\">http:\/\/ironcreek.net\/phpsyntaxtree\/<\/a> and enter the specification of your tree in labeled bracket notation. They have an example to get you started. They don&#8217;t look beautiful, but they don&#8217;t look bad. Once it has generated the tree, you can drag the picture into your Word document. One note: On homework #2, you are asked to create a tree from bracket notation. This site won&#8217;t exactly do your homework for you, because it requires a little bit of tweaking to get it to come out right. So, know what the tree is <i>supposed<\/i> to look like, and then you can use phpSyntaxTree to generate the correct picture.<\/p>\n<p>Another option is to purchase the <a href=\"http:\/\/www.cascadilla.com\/arboreal.html\">Arboreal<\/a> font for $20 from Cascadilla press. This is what I used to use all the time. It provides characters for the various tree branches, and with some practice it can make drawing trees go quite quickly. I have an <a href=\"http:\/\/www.bu.edu\/linguistics\/UG\/course\/lx523-s09\/local\/ArborealExample.doc\">example Word document<\/a> with the tabs set in such a way that the trees line up nicely, if you choose to go this route.<\/p>\n<p>I haven&#8217;t given <a href=\"http:\/\/www.ece.ubc.ca\/%7Edonaldd\/treeform.htm\">TreeForm<\/a> any very serious testing, but it is a Java application (so it works on both Windows and Mac) that lets you drag and drop pieces of trees onto a drawing board to create your trees. A kind of similar Java applet (usable in a web browser) is <a href=\"http:\/\/www-clips.imag.fr\/geta\/aurelien.max\/SSC\/frames.html\">The Syntax Student&#8217;s Companion<\/a>, although it is a much more modest program than TreeForm.<\/p>\n<p>You <i>could<\/i> draw trees right in Word by typing in the node labels and then drawing lines all over your document. I would not recommend this, though, it&#8217;ll take <i>forever<\/i>.<\/p>\n<p>What do I do? For the trees that you&#8217;ll see on the handouts and in the slides, I&#8217;ve created almost all of them using LaTeX in combination with one of the tree drawing packages. If you don&#8217;t already know LaTeX, this might be too much to try to do just to get your homework assignments finished. I did <a href=\"http:\/\/ug.bu.edu\/blog\/lingtech\/2008\/05\/29\/latex-presentation-and-a-couple-of-my-sty-files\/\">a little presentation on how to use LaTeX in Linguistics<\/a> at McGill about a year and a half ago, which you can take a look at. The specific tree drawing package I use almost exclusively is <a href=\"http:\/\/www.math.neu.edu\/ling\/tex\/\">jTree<\/a> (which is included in TeXLive). I also use the very handy little program <a href=\"http:\/\/pierre.chachatelier.fr\/programmation\/latexit_en.php\">LaTeXiT<\/a> to generate trees that I can just drag into Keynote (see also <a href=\"http:\/\/ug.bu.edu\/blog\/lingtech\/2008\/04\/21\/latexit-indeed-rocks\/\">a blog post I wrote about it<\/a>). I am actually a pretty big fan of LaTeX over other writing options, and if you go on to write a lot of things like math or linguistics, I&#8217;d recommend becoming familiar with it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re going to have plenty of opportunities to draw trees during the rest of the semester. If you wish to produce your trees electronically, you have a couple of options. Here is the easiest I think: Go to http:\/\/ironcreek.net\/phpsyntaxtree\/ and enter the specification of your tree in labeled bracket notation. They have an example to &#8230;<\/p>\n<p><a href=\"https:\/\/ling-blogs.bu.edu\/lx522f09\/2009\/09\/19\/drawing-trees\/\" class=\"more-link\">Continue reading &lsquo;Drawing trees&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-trivia"],"_links":{"self":[{"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":1,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/posts\/69\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ling-blogs.bu.edu\/lx522f09\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}