Linguistics 187: XLE HowTo What to do to get xle to run on elaine. You will need to edit your .cshrc file and your .emacs file. If you have your own machine running linux or MacOSX, you can put a copy of xle on it. The tar files are at: /afs/ir.stanford.edu/data/linguistics/XLE Note that XLE is not open source and is not openly distributable. You can use XLE only for this class. A. To your .cshrc you should: 1. Add to your path: /afs/ir.stanford.edu/data/linguistics/XLE/SunOS/bin It should look something like: set path=( $site_path /afs/ir.stanford.edu/users/t/h/thking/bin /afs/ir.stanford.edu/users/t/h/thking /afs/ir.stanford.edu/data/linguistics/XLE/SunOS/bin) 2. Add the line: setenv XLEPATH '/afs/ir.stanford.edu/data/linguistics/XLE/SunOS/' 3. Make emacs your editor by adding the line: setenv EDITOR emacs B. To your .emacs you should: 1. Add the line: (load-library "/afs/ir.stanford.edu/data/linguistics/XLE/SunOS/emacs/lfg-mode") C. In your directory where you will be working, you should make a soft link to the large English grammar: ln -s /afs/ir.stanford.edu/data/linguistics/XLE/eng-grammar/ eng-grammar If you want to run this grammar, on the command line you can type: xle And once it has loaded type: create-parser english/english.lfg You will not need this grammar now, but you are welcome to play with it and look at the files it uses.