Navigate sentence across boundaries in Select to Speak
When doing sentence navigation, we will first search for next sentence start within the current node group. If that fails, we will look for the rest of the content within this paragraph. If we still cannot find a sentence start, we will look for the next paragraph. Once we find a sentence start, we will get the nodes from the sentence start until the end of that paragraph. Then, we will send the new content to TTS. AX-Relnotes: N/A. Bug: 1143823 Change-Id: I051c572d4a9f866aeb37fba32137ed81b9cac744 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587799 Commit-Queue: Lei Shi <leileilei@google.com> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#838258}
Showing
This diff is collapsed.
Please register or sign in to comment