script for calculation of precision, recall, f-score further developed