I've been using this for about a year now - I parsed 6 months of my messages on slack and found the most common phrases I use and generated keyboard shortcuts for them.
However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time. So I'd actually be much more interested in a "universal" version of this -- if you ran it across books and e-mails and text messages from thousands of authors covering diverse backgrounds and contexts, then what would most reliably help everyone? E.g. expanding "t" to "the" seems like a no-brainer, just like "st" to "something". Is there a minimal set of, say, 200-500 of these that could simply be turned into a "standard keyboard" that everyone could learn?
You could make it append only by default. Only ever add new shortcuts - if db was debug for you before then database would have to take on a new shortcut (e.g. dtb)
That would lead to pointless verbosity over time because the older shortcuts would squat on useful shorter shortcuts for words that are no longer used. It would lead to the "horseless carriage" effect for shortcuts.
There are different stenography systems, each with their own shortcuts and abbreviations, but at core they're all about producing large volumes of text with minimal physical effort at very high speeds. Those interested should check out http://www.openstenoproject.org/. A good mechanical keyboard (e.g. the ErgoDox EZ) and Plover mean the only thing standing between you and >200 WPM typing is the time and effort to learn it.
I hit this invisible wall at about 165 WPM that I can't just get beyond, and it kills me. I wonder how fast I could get with stenography... I see dem 400 WPM videos and they look awesome.
I always see wpm come up for steno stuff and while it can be faster, that's more of a professional thing. There are three cool things about plover for me. One you get to type pressing more than one or two keys at a time. Two the inputs are sent on key up or release, so can take your time pressing all the letters down, and then release them. Three, you have almost no hand movement at all, so its really, really, really comfortable to type on. once you get that, you have the steno theories to expand all the words. plover comes with a stened dictionary, but thats just for the words. you can also do phrases, symbols, emoji, macros, and more. once you start adding dictionaries, using a computer becomes a lot more fun. plover is like really crazy layers. Now for the other dictionaries, you can do things like:
https://steno.sammdot.ca/plover-basics.pnghttps://steno.sammdot.ca/ted-navigation.pnghttps://steno.sammdot.ca/emily-symbols.png for these, where it says starter, you just press all those keys down, and then on the other side you press the keys listed for what you want. so for example, I can enter like ~104 symbols without moving my hands. the average sybmol layer has like 20. the crossplatform movement dict lets me move around much easier in any text field. (note that you don't really even need to know what the key names you are pressing are as its all a pattern) I currently have six other dictionaries that I use some of the time. you can see more here: https://www.openstenoproject.org/stenodict/. any cli program would be very easy to add most of the commands to a dictionary if you wanted. for example, a basic git dictionary: https://github.com/didoesdigital/steno-dictionaries/blob/mas... plover has made using a computer much more fun. its a bit of a hard sell for a lot of people, but I recommend trying out some of the other dictionaries to see what you can do besides type words fast. its seriously really crazy that we are only pressing one key at a time using a keyboard.
It would be nice to be able to find a keyboard that was comfortable to learn how to steno type with that didn't cost $100-$300. $50 would be a sweet spot. It doesn't need to be a premium kit with expensive switches and LEDs and whatnot. It just needs to be the right form factor. It feels like the people selling kits are taking advantage of its niche nature. (Though, it really shouldn't be niche; being able to type at the speed of speech/thought is more of a "bicycle for the mind" than any AI.)
> However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time.
> However, I realize that I would never want to use something like this that would change over time. > And the language I write changes very much over time. Sounds like exactly you want something that evolves after time, since how you write changes over time. An universal version would maximize the amount of helpfulness on an average for everyone, but a tool that learns from your individual actions, can be much better improvement for you. And by making the tool available to everyone, more people could get bigger benefits from it, rather than just "average" benefits.
> Sounds like exactly you want something that evolves after time, since how you write changes over time.
No, because I don't want the shortcuts to be changing on me. That would drive me nuts. The whole point for me would be to establish new habits and then keep them. To turn into muscle memory, not something to be thinking about. It's like toolbars that "learn" which actions you're currently using the most, but the buttons are constantly moving around and are never where they were last week. It's an exercise in frustration.
Yup, it doesn't run automatically for exactly this reason. It outputs "suggested_shortcuts.yaml" and I can copy and paste from that into "shortcuts.yaml" so I have manual control over which shortcuts are live :)
This is good I can imagine all of the embarrassing auto typing. It is the reason I hate Android phones. I will be typing and it will try to predict what I am writing. Some of it not sure what data it is built on came out hilarious or down right inappropriate. Not like swears or vulgar just the punch of the expressions.
Even then, universal doesn't mean time-independent.
A universal set of shortcuts trained on a giant corpus in 2018 wouldn't have a shortcut for "covid" or "pandemic" but in 2020, it would be really handy.
> E.g. expanding "t" to "the" seems like a no-brainer, just like "st" to "something". Is there a minimal set of, say, 200-500 of these that could simply be turned into a "standard keyboard" that everyone could learn?
I appreciate the fact that it contains shortcuts for such words as "endeavour" (EDV), "ecclesiastic" (EC), "notwithstanding" (NWG) or "vehemence" (VMC) being a dictionary of the "basic and most frequently used words". Also, the suggested abbreviation for "sex" is "SEX".
> expanding "t" to "the" seems like a no-brainer, just like "st" to "something"
I have jk mapped to escape in vim, and for a key combo that seems like it should never occur naturally, I’m often surprised how often it misfires when I actually need to type “jk”. Globally remapping hundreds of things like “t” and “st” would actually be quite frustrating I think. Like imagine you’re emailing your friend about a trip to st petersburg, or about some code containing the variable t, etc.
Here's something you probably didn't know if you are not native Chinese speaker:
Chinese language has this feature "built-in". It is officially called 双拼 (Shuangpin)where you type two (English) characters of each word to type out the entire word: https://zh.wikipedia.org/zh-sg/%E5%8F%8C%E6%8B%BC Even if you don't use Shuangpin officially, most Chinese input methods supports a similar feature (简拼) for popular phrases, where you type first English character of each word to type out a phrase of several words. For example, to type "thank you" in Chinese (xiexie), you just type "xx" and it should automatically give you "xiexie" (Chinese characters) in most popular Chinese input methods.
I was working on a similar problem this weekend, but with whole words instead of abbreviations I had made in a dictionary, and in the general case, fine-tuned on any given corpus of text. I wanted to know: could I write an autocorrect that is "fine-tuned" on a given corpus of text? Use case: I write a lot of docs with long phrases (i.e. "data augmentation"). Could I automate them? I arrived at:
1. Calculate "surprisal" of unigrams and bigrams (entropy) from a general dataset (an NYT corpus), give a boost to words in the "fine-tuned" index;
2. Create a trie data structure that is weighed by surprisals. The more surprising a word, the more weight it gets.
3. Use that as advanced autocomplete.
I definitely need to write more docs on this project! I will share them when I'm done. It looks like SymSpell is doing spelling correction, which is part of what my code does.
The "surprisal" (information theory: Shannon information) component is doing statistical next word prediction. For example, given a corpus of data in which "data augmentation" is a common phrase, "da" could complete to "data augmentation". "data augmentation" starts with "da", and would be determined as a likely candidate for the next word because it was common in the dataset on which the statistical model was "fine-tuned". This Wikipedia page covers the concept in more depth: https://en.wikipedia.org/wiki/Information_content
By the way, this project is _awesome_! My programming language [1] does OCR correction via heuristics (possible because there is a restricted grammar) but this project looks like it could help _a lot_ with improving the accuracy of the OCR output. Thank you!
Comments (313) 91 threads
This has been one of the rare side projects that has actually saved me more time than I've put in :)
However, I realize that I would never want to use something like this that would change over time. E.g. if I ran it every 6 months and last year "db" produced "debug", while this year it produces "database". Because talk about messing up my muscle memory and habits. And the language I write changes very much over time.
So I'd actually be much more interested in a "universal" version of this -- if you ran it across books and e-mails and text messages from thousands of authors covering diverse backgrounds and contexts, then what would most reliably help everyone?
E.g. expanding "t" to "the" seems like a no-brainer, just like "st" to "something". Is there a minimal set of, say, 200-500 of these that could simply be turned into a "standard keyboard" that everyone could learn?
There are different stenography systems, each with their own shortcuts and abbreviations, but at core they're all about producing large volumes of text with minimal physical effort at very high speeds.
Those interested should check out http://www.openstenoproject.org/.
A good mechanical keyboard (e.g. the ErgoDox EZ) and Plover mean the only thing standing between you and >200 WPM typing is the time and effort to learn it.
Continue this thread — 51 replies
I always see wpm come up for steno stuff and while it can be faster, that's more of a professional thing. There are three cool things about plover for me. One you get to type pressing more than one or two keys at a time. Two the inputs are sent on key up or release, so can take your time pressing all the letters down, and then release them. Three, you have almost no hand movement at all, so its really, really, really comfortable to type on.
once you get that, you have the steno theories to expand all the words. plover comes with a stened dictionary, but thats just for the words. you can also do phrases, symbols, emoji, macros, and more. once you start adding dictionaries, using a computer becomes a lot more fun. plover is like really crazy layers.
Now for the other dictionaries, you can do things like: https://steno.sammdot.ca/plover-basics.png https://steno.sammdot.ca/ted-navigation.png https://steno.sammdot.ca/emily-symbols.png
for these, where it says starter, you just press all those keys down, and then on the other side you press the keys listed for what you want. so for example, I can enter like ~104 symbols without moving my hands. the average sybmol layer has like 20. the crossplatform movement dict lets me move around much easier in any text field. (note that you don't really even need to know what the key names you are pressing are as its all a pattern) I currently have six other dictionaries that I use some of the time. you can see more here: https://www.openstenoproject.org/stenodict/.
any cli program would be very easy to add most of the commands to a dictionary if you wanted. for example, a basic git dictionary: https://github.com/didoesdigital/steno-dictionaries/blob/mas...
plover has made using a computer much more fun. its a bit of a hard sell for a lot of people, but I recommend trying out some of the other dictionaries to see what you can do besides type words fast. its seriously really crazy that we are only pressing one key at a time using a keyboard.
> However, I realize that I would never want to use something like this that would change over time.
> And the language I write changes very much over time.
Sounds like exactly you want something that evolves after time, since how you write changes over time.
An universal version would maximize the amount of helpfulness on an average for everyone, but a tool that learns from your individual actions, can be much better improvement for you. And by making the tool available to everyone, more people could get bigger benefits from it, rather than just "average" benefits.
No, because I don't want the shortcuts to be changing on me. That would drive me nuts. The whole point for me would be to establish new habits and then keep them. To turn into muscle memory, not something to be thinking about.
It's like toolbars that "learn" which actions you're currently using the most, but the buttons are constantly moving around and are never where they were last week. It's an exercise in frustration.
A universal set of shortcuts trained on a giant corpus in 2018 wouldn't have a shortcut for "covid" or "pandemic" but in 2020, it would be really handy.
Take a look at Evans Basic English Code, a shorthand system based off of Phillips Code (for telegraphs). It's a little dated, but the most common words are quite useful for writing or typing.
https://archive.org/details/evansbasicenglis00evan
(use the pdf, the txt file is a bad OCR and practically useless)
Also useful:
https://en.m.wikipedia.org/wiki/Most_common_words_in_English
I have jk mapped to escape in vim, and for a key combo that seems like it should never occur naturally, I’m often surprised how often it misfires when I actually need to type “jk”.
Globally remapping hundreds of things like “t” and “st” would actually be quite frustrating I think.
Like imagine you’re emailing your friend about a trip to st petersburg, or about some code containing the variable t, etc.
Continue this thread — 2 more replies
Continue this thread — 5 more replies
Chinese language has this feature "built-in".
It is officially called 双拼 (Shuangpin)where you type two (English) characters of each word to type out the entire word:
https://zh.wikipedia.org/zh-sg/%E5%8F%8C%E6%8B%BC
Even if you don't use Shuangpin officially, most Chinese input methods supports a similar feature (简拼) for popular phrases, where you type first English character of each word to type out a phrase of several words.
For example, to type "thank you" in Chinese (xiexie), you just type "xx" and it should automatically give you "xiexie" (Chinese characters) in most popular Chinese input methods.
Like "what do you want to eat" 「你想吃什麼」 Is typed with n x c s m
Next time I got to the Din Tai Fung in my neighborhood ;-)
I was working on a similar problem this weekend, but with whole words instead of abbreviations I had made in a dictionary, and in the general case, fine-tuned on any given corpus of text.
I got a working solution here: https://github.com/capjamesg/autowrite/blob/main/autocomplet...I wanted to know: could I write an autocorrect that is "fine-tuned" on a given corpus of text? Use case: I write a lot of docs with long phrases (i.e. "data augmentation"). Could I automate them?
I arrived at:
(No docs yet -- coming in the next few days. Leave a GitHub Issue if you want to chat about it!)
Or maybe I am confused what you're saying. Are you trying to find more creative ways of saying the same phrase?
The "surprisal" (information theory: Shannon information) component is doing statistical next word prediction. For example, given a corpus of data in which "data augmentation" is a common phrase, "da" could complete to "data augmentation".
"data augmentation" starts with "da", and would be determined as a likely candidate for the next word because it was common in the dataset on which the statistical model was "fine-tuned".
This Wikipedia page covers the concept in more depth: https://en.wikipedia.org/wiki/Information_content
[1] https://visionscript.dev/paper/
All comments shown.
Couldn't load more comments. Check your connection and try again.