Scheme to generate memorizable tables for Steno

7 views
Skip to first unread message

tfer

unread,
Oct 10, 2008, 10:16:05 AM10/10/08
to TiddlyWiki
I'm using TW to prototype a set of learning aids for machine steno,
(and trying to get through my first class in the process!). There are
thousands of 'outlines' for words, phrases, etc., and memorizable
tables can be put to good use, and I need some tools to help populate
tidlers with content.

In a line of steno, characters can only appear in one position,
“STKPWHRAO*EUFRPBLGTSDZ”, the letters to the left of the ’A’, are
known as the ’initial consonants’, those after the ’U’ are the final
consonants. There is a ’typewritten’ short hand to represent a series
of lines, (strokes, in the lingo), that goes as follows: ’/’ - for the
start of a new stroke followed by any of the characters used in the
stroke with these hints, to make the ’outline’, unique; if no initial
consonant is in the outline, a hyphen acts as a placeholder for their
absence (unless a vowel is present, in which case it is not needed),
if only initial consonants are present, then they are followed by a
hyphen so you can tel that they are initial. Here is an example:
/THEUS /S- /A /DAUG /-FPLT — for “This is a dog.”

To make a table, I need to take all the ("word/phrase", "outline")
pairs destined for the table, and use them to populate the rows in a |
Word/Phrase|Stroke|h table. where the stroke column contains a string
that displays what would appear on the steno tape, i.e. the outline
uncompress, e.g. for ("to be", "\TAO*B"), the row generated will be:
|to be| T     AO*   B|
(I need the non-breaking space to get things to display correctly for
memorize).

So, I need a way to generate all the table rows for a tiddler form a
hidden, or at least, out of sight text chunk that can be retrieved and
indexed through, with a new 2 column row created for each "line", the
first value is placed in the row unchanged, and the 2 value is
expanded as in the example above.

So, these are my questions (by category).

Where to put these "text chunks"?
in the tiddler?
in another tiddler?
How to keep them hidden?
commented out?
some TW command/technique I don't know?
How to retrieve the "text chunk"?
Slices? how would I name them?
Hidden tables, retrieved and indexed?
I think I come across a a plugin like that.
How to process what is retrieved?
javascript obviously, but do I generate the table once, each time
the tiddler is opened,
whenever the text chunk is changed, via an update button?

Ideas?

Tom Fetherston


Morris Gray

unread,
Oct 10, 2008, 6:18:10 PM10/10/08
to TiddlyWiki
Tom, This may be more simple than you think, depending of course how
much work you have to do. I have generated a working steno memorize
table for you using TiddlyWiki markup as below:

http://twhelp.tiddlyspot.com/#StenoTableMemorize

Just click edit>> on the yellow header to see the code.
Click <<back on the yellow header to return the the memorize table
group where you can see more examples and other links including how to
do this in HTML.

Let us know if this helps.

Morris Gray
http://twhelp.tiddlyspot.com
A TiddlyWiki help file for beginners

tfer

unread,
Oct 12, 2008, 9:45:42 PM10/12/08
to TiddlyWiki

> Let us know if this helps.

Hello Morris,

I've followed the discussion on Memoriable tables, (in fact, googling
on that is how I found this list), Adding to your example:, I have:

!!!<<gradient horiz #fc3 #fff>>&nbsp;[[StenoTableMemorize]]^^<<tiddler
CloseThisOpen with: MemorizeTables '« back'>>|<<toolbar
editTiddler>>» ^^>>
*Try clicking (memorize) in both columns to decide which side to start
with.
| !English<br><script label="(memorize)">return Mem.start(place)</
script> | !Steno<br><script label="(memorize)">return
Mem.start(place)</script> |
|This is a dog|/THEUS /S- /A /DAUG /-FPLT -|
|to be|TAO*B|
|This is a cat|/THEUS /S- /A /KAT /-FPLT -|
|&#160;to be|
&#160;T&#160;&#160;&#160;&#160;&#160;AO*&#160;&#160;&#160;B|
|&#160;is that|
ST&#160;&#160;&#160;H&#160;A&#160;*&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;T|
|&#160;is this|
ST&#160;&#160;&#160;H&#160;&#160;&#160;*EU&#160;&#160;&#160;&#160;&#160;&#160;&#160;S|
|&#160;off the|
&#160;&#160;&#160;&#160;&#160;&#160;&#160;A&#160;*&#160;UF&#160;&#160;&#160;&#160;&#160;T|

the last four rows show the the text strings that I have to derive
from:
/TAO*B
/STHA*T
/STH*EUS
/A*UFT

The idea is to have a normally hidden area in the tiddler hold a chunk
of tab separated pairs:
to be<tab>/TAO*B
is that<tab>/STHA*T
is this<tab>/STH*EUS
off the<tab>/A*UFT

That gets processed by a javascript when an edit of the tiddler is
accepted (by clicking "done"), and creates the Memorizable table in a
visible portion of the tiddler. Eric has a plugin that hides a
portion of a tiddler, so I can probably use that, just have to.

1. figure out how to feed the javascript the text chunk
2. figure how to add a hook to the script that is activated when
'done' is invoked
3. write a plugin to hold the script
4. provide a template for this new kind of tidller
5. provide a new right menu "create steno-mem tiddler"

But this will probably wait a bit, just to get things going, I'm
planning to write a python script and feed it files of 'tab separated
values', and have it write the TW rows out for me, (being more adept
at that then javascript at the moment). But I want to make this
something that anyone can use to add memorizable tables with, and will
work on the above scheme to fufill that.

By the way, thanks to you and Eric for the work you did getting
Memorizable tables to work in TW!

Tom Fetherston.





Reply all
Reply to author
Forward
0 new messages