It wasn't actually guaranteed, it turns out. I was iterating over dictionary keys, which is done in arbitrary order. The result was that in different executions of the program, the corpus was generated differently, so the hashes differed, and the language had to be updated. Sorting the keys before adding them to the list of number-words fixed the problem.
|
|
||
65 |
|
65 |
|
66 |
|
66 |
|
67 |
|
67 |
|
68 |
|
|
|
|
68 |
|
|
69 |
|
69 |
|
70 |
|
|
|
|
70 |
|
|
71 |
|
71 |
|
72 |
|
|
|
|
72 |
|
|
73 |
|
73 |
|
74 |
|
|
|
|
74 |
|
|
75 |
|
75 |
|
76 |
|
|
|
|
76 |
|
|
77 |
|
77 |
|
78 |
|
|
|
|
78 |
|
|
79 |
|
79 |
|
80 |
|
80 |
|
81 |
|
|
|
|
81 |
|
|
82 |
|
82 |
|
83 |
|
83 |
|
84 |
|
84 |
|