added sentence ditector and simple past convert