Skip to content

Commit

Permalink
Fix indicphone skipping all tokenization because of one bad token.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 24, 2023
1 parent 3190001 commit de554cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenizers/indicphone/indicphone.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (ip *IndicPhone) ToTokens(s string, lang string) ([]string, error) {
}

if key0 == "" {
return nil, nil
continue
}

tokens = append(tokens,
Expand Down

0 comments on commit de554cf

Please sign in to comment.