Grammar Browser software provides a simple-to-use graphic interface to grammatical structure and relations of any text as parsed by the Stanford Parser. It contains a grammatical relation editor to modify, import, export grammatical relation definitions (tregex patterns and features). Written to Java 1.6 and Swing, it is portable across platforms.
Usage:
Unzip to target folder
Make ./run.sh executable on non-Windows platforms
Run run.bat or ./run.sh from target folder
Command line
linux/unices:
java -Xmx256M -classpath ./grammarbrowser.jar:./lib/stanford-parser.jar grammarbrowser.browser.Browser [parameters]
Note the -Xmx256M parameter sets the JVM memory heap to 256 mega bytes, which may suffice or not depending on analyzed data. It may also stretch the memory requirements too much on some hosts.
Command line parameters
doc=[path/to/text/doc]
grammar=[path/to/serialized/grammar/file]
laf=[com.incors.plaf.kunststoff.KunststoffLookAndFeel|com.jgoodies.looks.plastic.PlasticLookAndFeel|com.jgoodies.looks.windows.WindowsLookAndFeel|com.sun.java.swing.plaf.windows.WindowsLookAndFeel]
theme=[true|false]
Requirements:
· Java Runtime Environment (JRE) 1.5 or later
What's New in This Release:
· enhanced asynchronous operation multi-document support
Product's homepage