-
Notifications
You must be signed in to change notification settings - Fork 0
austin226/ling573
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Usage ``` python3 src/main.py TOPICS_XML_FILE OUTPUT_DIR ``` ## Example: ``` python3 src/main.py /dropbox/17-18/573/Data/Documents/devtest/GuidedSumm10_test_topics.xml outputs/D4_devtest/ python3 src/main.py /dropbox/17-18/573/Data/Documents/evaltest/GuidedSumm11_test_topics.xml outputs/D4_evaltest/ ``` # Notes - If you get an error message like "invalid interpreter (/bin/sh) specified on first line of script", run the following to fix any issues with unix line endings: `dos2unix src/*` - Script must be invoked from the base directory of this project. - The script will log to stdout and stderr, but all summaries will be placed in the OUTPUT_DIR - Script will write intermediate files in the var/ directory - A virtual environment will be set up in the venv/ directory - The script `src/run.sh` will invoke a background process, `src/server.sh`, which starts a Stanford CoreNLP server on an available port. If the main process is improperly terminated, this may leave the server process running. Background server instances may be found via `ps aux | grep "$(whoami).*Server"` # ROUGE Evaluation ## Devtest ``` /dropbox/17-18/573/code/ROUGE/ROUGE-1.5.5.pl \ -e /dropbox/17-18/573/code/ROUGE/data \ -a -n 4 -x -m -c 95 -r 1000 -f A -p 0.5 -t 0 -l 100 -s \ -d src/ROUGE_devtest.conf.xml ``` ## Evaltest ``` /dropbox/17-18/573/code/ROUGE/ROUGE-1.5.5.pl \ -e /dropbox/17-18/573/code/ROUGE/data \ -a -n 4 -x -m -c 95 -r 1000 -f A -p 0.5 -t 0 -l 100 -s \ -d src/ROUGE_evaltest.conf.xml ```