How to create template file for biagrams in crf++

I have train file in following format. word(column0), its corresponding biagram(column 1-21) and word(column 22). For example दुव्र्यवहार दु ुव व् ्र र् ्य यव वह हा ार - - - - - - - - - - व्यवहारI have to create a template such that on the basis of biagram, model can predict the word(word at last column)...Read more