N-Gram models as input and to build DB format which help us to make prediction based on probability. Because N-Gram model has all combinations (based on config N), but we able to pick high possible term to write into DB. It also increase the performance for SQL query (e.g. LIKE %)
Mapper output format + Reducer output format (DB)