explain the code
In reply to Re^6: count trigrams of a whole file by Anonymous Monk in thread count trigrams of a whole file by lakssreedhar