pyrouge
pyrouge copied to clipboard
Deleting temp files is time-consuming
Could you add some lines to delete the rouge-config folder and parsed summaries folder which are left in /Temp after convert_and_evaluate() ?
Clearing these folders is time-consuming (files are trivial and too many) and they easily occupied 8GB of disk C: .
You can try
from pathlib import Path
import shutil
tmp_dir = Path(rouge._model_dir).parent
shutil.rmtree(tmp_dir)