add sentence windowing