Browse Source

Import multiple language wordbanks, test them

pull/1782/head
Ethan Frey 8 years ago
parent
commit
1e978ba838
4 changed files with 6145 additions and 1 deletions
  1. +1
    -1
      keys/wordcodec_test.go
  2. +2048
    -0
      keys/wordlist/chinese_simplified.txt
  3. +2048
    -0
      keys/wordlist/japanese.txt
  4. +2048
    -0
      keys/wordlist/spanish.txt

+ 1
- 1
keys/wordcodec_test.go View File

@ -146,7 +146,7 @@ func getDiffWord(c WordCodec, not string) string {
func TestCheckTypoDetection(t *testing.T) {
assert, require := assert.New(t), require.New(t)
banks := []string{"english"}
banks := []string{"english", "spanish", "japanese", "chinese_simplified"}
for _, bank := range banks {
codec, err := LoadCodec(bank)


+ 2048
- 0
keys/wordlist/chinese_simplified.txt
File diff suppressed because it is too large
View File


+ 2048
- 0
keys/wordlist/japanese.txt
File diff suppressed because it is too large
View File


+ 2048
- 0
keys/wordlist/spanish.txt
File diff suppressed because it is too large
View File


Loading…
Cancel
Save