blob: bb47aeff32c8e903c89722b51ca62de78cd42c7c [file] [log] [blame]
#!/bin/bash
if test -z $JOSHUA; then
echo "You must set \$JOSHUA to the root of your Joshua installation."
exit
fi
if test -z $3; then
echo "Usage: tree-visualizer <source> <reference> <nbest-output>"
echo "where"
echo " <source> is the source corpus, one sentence per line"
echo " <reference> is the reference corpus, one sentence per line"
echo " <nbest-output> is Joshua's n-best output"
exit
fi
java -cp $JOSHUA/bin:$JOSHUA/lib/* joshua.ui.tree_visualizer.browser.Browser $1 $2 $3