Support sentence level spell check in sample code of the spell checker

Bug: 6136149

Change-Id: I1519258dd3ce95ad01e50a75f802469737bef3c4
5 files changed