TreeForm

TreeForm is a cross-platform syntax tree drawing software written in Java. TreeForm has been freely available as an open-source project since February 2006, and updated to its current form in 2010. To download, please go to the TreeForm site on SourceForge.net.  You can also watch  the TreeForm video below.

In the spring of 2007, TreeForm was edited extensively and tested for suitability among a select group of linguists at UBC. A comparison of TreeForm along with other methods of drawing syntax trees, along with the cognitive walkthrough. I published the results with Daniel Archambault in Literary and Linguistic Computing as an article entitled TreeForm: Explaining and exploring grammar through syntax trees.

With TreeForm, you can create and reorder syntax trees with Unicode fonts, add features, case, associations and movement lines in black and white or color, and save the results for future editing or print to pdf for use in word processing or Latex documents. TreeForm itself has been used extensively by researchers all over the world.  Special thanks to all those who have helped make TreeForm a successful project, to my many users, and to the 136,000+ who have tried TreeForm since I uploaded it to SorceForge.

13 thoughts on “TreeForm

  1. a. syed

    Hi! I’m trying to run Treeform on Windows 10 and can’t seem to run the .bat file. The window opens up for a second and then disappears. Any suggestions?

    Reply
    1. Donald Derrick Post author

      You do not have a Java Runtime (JRE) installed. Download it from Oracle, and install it. The program should work. (It does on my Windows 10 machine)

      Reply
        1. Donald Derrick Post author

          You will need to run the .bat file from you command prompt, and then copy/paste the resulting error message. There’s no hope of me being able to address your issue without that error message. Thanks!

          Reply
  2. David A. Pabon

    Hello

    I have two questions:

    First, can I use this program with Windows?

    And second, how can I open the program from the files package which I downloaded ?

    Please. I need it

    Thank you for the help

    Reply
    1. Donald Derrick Post author

      Yes, you can, using the .bat file in Windows.

      You have to have a JRE (Java Runtime) installed.

      Reply
  3. Masahiro Kato

    Dear Prof. Derrick,

    I am a linguist teaching pragmatics and functional grammar at universities in Japan.
    I would like to use TreeForm on my Mac (OS X: 10.11.6, El Capitan) and downloaded the file.
    Unfortunately, after unzipping it, and tried to open the treeform file, there appeared a message “this file is damaged and cannot be open.” I have tried downloading it several times from different sites but I got the same message.

    I would like to ask you how to download TreeForm safely to my Mac.
    Thank you very much in advance.

    Masahiro Kato
    Tokyo, Japan

    Reply
    1. Donald Derrick Post author

      This should work:

      Download
      Run
      Have it fail
      Apple (top left) > System Preferences > Security & Privacy
      Bottom half – approve the program.

      If that does not work, you need to install the JRE (Java Runtime) first.

      If that does not work, send me another post.

      Reply
      1. Anne

        Hello,
        I have the same problem than Masahiro Kato. I tried both of you solutions, but it doen’t work, it’s still written “this file is damaged and cannot be open.”

        What can I do more?

        Thank you

        Anne

        Reply
  4. Paul

    Hello Dr Derrick
    I am studying Syntax at Macquarie University in Sydney, Australia and would gratefully appreciate the opportunity to utilise your software. However, like others, I am receiving the same error message upon attempting to install.

    System Info: MacOS 10.12.6
    JRE version installed: jre-8u201-macosx-x64
    Error message: “TreeForm” is damaged and can’t be opened. You should move it to the Trash.

    According to MacOS help as linked via the ‘?’ on the error message I can open an app by overriding security settings. To follow the help link’s information I should:

    “In the Finder, locate the app you want to open.
    Most apps can be found in the Applications folder.
    Control-click the app icon, then choose Open from the shortcut menu.
    Click Open.
    The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it, just as you can any authorized app.”

    However, as the app is not installed it is not yet in the Applications folder, therefore I attempted to ‘Control click’ the executable file and select open but with the same result.
    Next, I attempt to change security settings and try again, and with the same negative result.

    Is it possible that the files stored on sourceforge are actually corrupted? That would explain why everyone is experiencing the same result.

    Awaiting your response, kind sir,
    Paul Davies.

    Reply
    1. Donald Derrick Post author

      Hi Paul Davies,

      All of these problems are occurring because of Apple’s “gatekeeper” software. What I snarkily refer to as Apple’s war on open-source.

      As I remember it, the easiest solution is to:
      Download Treeform
      Try to open it by clicking on the app (it should fail)
      open system preferences > security and privacy
      Find the app listed where you can allow it to run.

      If that doesn’t work, you can go to apple’s terminal and run:

      sudo spctl –master-disable

      Then go to “security and privacy” and allow apps downloaded from anywhere to run.

      Run TreeForm – if you have Java installed it will run.

      Once TreeForm opens, if you want gatekeeper back, go to the terminal and type:

      sudo spctl –master-enable

      That should do it.

      Reply
  5. Paul Davies

    Update! It will work if you run it off the .jar file!

    Anyone using a MAC, update JRE from oracle website and then try the .jar file.

    Regards, Paul

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.