Text this: Enhancement of chirped density modulation in electron beam for generating ultrashort THz radiation pulse