-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Of course, I've mentioned the lesson format as an issue, but the simplest change here, I think, would be just to enable the use of phrases, in the 'les' files. I'm not particularly beholden to the idea of having separate 'les' and 'chd' files, as you know. But, just to enable the use of phrases, might be a matter of merely commenting out the use of a " " separator. Is that here?:
// Read and store words
try {
Reader reader = new FileReader(lesDictionaryFilePath);
lesReader = new BufferedReader(reader);
while ((tempLine = lesReader.readLine()) != null) {
if (tempLine.length() != 0 && tempLine.charAt(0) == '<' || tempLine.trim().length() == 0) continue;
String[] newWords = tempLine.split(" ");
for (String word : newWords) {
words.add(word);
}
}
}
This is from Utils.pde. And, as it's reading the .les dictionary file, I imagine that this line could be commented out:
String[] newWords = tempLine.split(" ");
If this works as expected, then it will break some of the .les files (under data / lessons), because each word/phrase entry would need to be one its own line. However, this is a straightforward editing task, and, indeed, I can accomplish it.
You may, I suppose, be planning a more radical change to the lesson format, so I'll touch base?
Also, I contributed 'longVowels.les', and 'longVowels.chd', and I now have four more progressively more advanced files to be added to 'longVowels' (so, really, eight, because there's a 'les', and a 'chd'). These files have 200 words each. I'm fiddling with using smaller file-sizes, though, even as small as 20 words. In any case, I'm continuing to add to my personal pile of instructional material, I anticipate that I'll wind up with much more, as I am mastering steno theory as I go.