Modified gap generation algorithm to use morphological analyzer instead of tagger