A gram is not a word but a number

This commit is contained in:
Willem Cazander 2025-01-23 17:25:43 +01:00
parent 4e9ef6742e
commit 147bd819e7
2 changed files with 2051 additions and 2049 deletions

View file

@ -45,9 +45,11 @@ public class FCDotBIP0039Dash2KTest {
}
File wordFile = new File(args[0]);
List<String> words = Files.readAllLines(wordFile.toPath());
int num = 1;
for (String word : words) {
String wordEnum = word.toUpperCase();
System.out.println("\t" + wordEnum + ",");
System.out.println(String.format("\tNXX_%04d_%s,", num, wordEnum));
num++;
}
}