refactor sentence_state

renaming things