fixed the first set of words not being imported for transcribed languages
This commit is contained in:
parent
dcdd78486a
commit
795145fb2b
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ public class DictionaryLoader {
|
||||||
int wordCount = 0;
|
int wordCount = 0;
|
||||||
int maxWordsPerSequence = 0;
|
int maxWordsPerSequence = 0;
|
||||||
|
|
||||||
|
positionShift = positionShift == 0 ? 1 : positionShift;
|
||||||
|
|
||||||
try (BufferedReader ignored = wordFile.getReader()) {
|
try (BufferedReader ignored = wordFile.getReader()) {
|
||||||
while (wordFile.notEOF()) {
|
while (wordFile.notEOF()) {
|
||||||
if (loadThread.isInterrupted()) {
|
if (loadThread.isInterrupted()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue