Fix end of text behaviour in case of sentence positions

Change-Id: Ic433dd3579d9a79df5734a405e682596c3ccddad
diff --git a/matrix.go b/matrix.go
index e2d9858..7eda112 100644
--- a/matrix.go
+++ b/matrix.go
@@ -592,6 +592,10 @@
 
 		if eot {
 			eot = false
+			if !sentenceEnd {
+				sentenceEnd = true
+				w.SentenceEnd(buffc)
+			}
 			textEnd = true
 			w.TextEnd(buffc)
 			rewindBuffer = true