diff --git a/scripts/checkProfanity.py b/scripts/checkProfanity.py index e1222ecb..f98cd597 100755 --- a/scripts/checkProfanity.py +++ b/scripts/checkProfanity.py @@ -11,7 +11,7 @@ print("Checking: "+str(line.rstrip())) prediction = predict_prob([line.rstrip()]) if prediction[0] > 0.5: - file.write(str(line.rstrip())+"\n") + file.write(str(prediction[0]) + " - " + str(line.rstrip())+"\n") print("Offending line: "+str(line.rstrip())) file.close() \ No newline at end of file