[core] sentence splitting: code clarification