User name:

Български Português brasileiro
Bosanski Català
繁體中文 Česky
Dansk Deutsch
English Español
Suomi Français
Ελληνικά Hrvatski
Magyar Italiano
日本語 Bahasa Melayu
Nederlands Norsk
Polski Português
Română Русский
සිංහල Slovenščina
Srpski Svenska
ภาษาไทย Türkçe
Українська 简体中文
Who is online? (20)

LCWO Discussion Forum [Atom LCWO Forum Feed]

This is a simple discussion forum for LCWO users. Feel free to use it for any kind of discussion related to this website.

Thread: cwpt2 generates permutations of chars

Back to the Forum


Posted: 2020-05-26 05:11
New feature. Eliminates risk of randomness missing pairwise, and triples of characters.
Text below from readme file.

cwpt2.exe -lesson=2 -num=1 -permute=p

The output from this option "looks" like a simple set of short code groups, but its special.

Code groups are random, therefore it is possible you might never see some characters next to each other.
Like wise, you might do a lot of word practice, and never encounter certain combinations. Rather than wait until
you encounter them on the air, maybe with call signs, this feature can help.

The permute option, by default, will use the tutor and lesson options to determine which characters to permute.
(LCWO is the default tutor, 40 is the default lesson.)

For the command line above, the characters to permute are: "kmu". The value "p", to permute means you want pairs,
therefore the permutations would be: kk mm uu km ku mu mk uk um. Because this would be a very short practice session,
there pairs will be repeated (in random order) until the value of the word option num, the default for num is 100.
If you ONLY want the minimal set, simply use num=1. (Num will be ignored if it would cause a loss of a permutation.)

If num is larger than the lesson value squared, output "strings" or code groups will be repeated in random order.

All the pairs are good, but in the practice of pairs, a character either follows a space, or has a
space after it, so permute has another value form permute=t, which indicates you want "triples". Changing the
command line above to -permute=t, gives the following: mkm uku kmk umu kuk mum. We now have each character, where
it is not next to a space. (Some permutations have been suppressed; there is no mmm, for example
(3 m's doesn't give you anything that 2 didn't already), there is no mmk, kmm for the same reason.

Lastly, you might want a practice session with both pairs and triples, use -permute=b (b for both).
As the lesson number gets high, the output size get significant, LCWO will simply truncate a file that's too
big (8000 characters) (other tutors may act differently).

Most word practice and code groups will of course hit many of these permutations, if you want to work on a set of
your choosing you can drop the lesson= option, and instead use the code groups list option. For example:

cwpt2.exe -cglist="qrx5" -permute=b num=1


qrq 5r5 5x q5q qxq x5 r5r xq 55
xr rxr 5x5 x5x xqx q5 qq rqr 5q
rx r5 xx qr rq qx 5q5 5r rr xrx

73 wa2nfn

Posted: 2020-05-30 00:03
In addition to "words", ProSigns in an input file,
groups of words can now be treated as if they were a single word to create practice text.

This can give some context to word practice, rather than just randomly repeated words. For example, a partial part of a common sentence or part of a QSO.

Words are simply grouped using a "~" between words in input, the "~' are stripped before the text is output for your code tutor like LCWO.


Back to the Forum

You must be logged in to post a message.