bheinzerling / pyrouge

A Python wrapper for the ROUGE summarization evaluation package
MIT License
250 stars 71 forks source link

syntax error near unexpected token `newline'To fix `script not found` : #40

Open Vera-wz opened 1 year ago

Vera-wz commented 1 year ago
          To fix `script not found` :
pip uninstall pyrouge
git clone https://github.com/bheinzerling/pyrouge
cd pyrouge
pip install -e .
pyrouge_set_rouge_path </absolute/path/to/ROUGE-1.5.5/directory>
python -m pyrouge.test

Originally posted by @astariul in https://github.com/bheinzerling/pyrouge/issues/25#issuecomment-506568858

$ pyrouge_set_rouge_path </absolute/path/to/ROUGE-1.5.5/directory> -bash: syntax error near unexpected token `newline'