結果 : calculate term frequency python