sentence graph updated to give more consistent results.