(text string)
| 1029 | } |
| 1030 | |
| 1031 | func leadingLetters(text string) string { |
| 1032 | for i, r := range text { |
| 1033 | if r < 'a' || r > 'z' { |
| 1034 | return text[:i] |
| 1035 | } |
| 1036 | } |
| 1037 | return text |
| 1038 | } |
| 1039 | |
| 1040 | func hasSentenceBoundary(text string) bool { |
| 1041 | for i, r := range text { |
no outgoing calls
no test coverage detected