We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea51ccf commit c462654Copy full SHA for c462654
single_byte.go
@@ -89,7 +89,7 @@ func (s *ngramState) lookup() bool {
89
90
func (r *recognizerSingleByte) parseNgram(input []byte) int {
91
state := newNgramState(r.ngram)
92
- for inChar := range input {
+ for _, inChar := range input {
93
c := r.charMap[inChar]
94
if c != 0 {
95
state.AddByte(c)
0 commit comments