refact sentence parse