Linguistics 239e: XLE HowTo What to do to get xle to run on elaine (to run on a linux machine, replace "SunOS" with "Linux"). You will need to edit your .cshrc file and your .emacs file. 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 eng-grammar/english.lfg You will not need this grammar now, but you are welcome to play with it and look at the files it uses.