method to combine n gram probability features