append a line 'return 0' to _main in TfIdf.py