add sentence detector