Code Monkey home page Code Monkey logo

steno-stuff's Introduction

steno-stuff

a random collection of steno related scripts and programs

suffix.py

Reading from a dictionary, work out all the left-hand chords that are unused. This can be helpful for creating a dictionary, as when you pick an unused left-hand chord the rest of the keys are free to be assigned with no clashes. left-hand in this case is STKPWHR

prefix.py

Reading from a dictionary, work out all the right-hand chords that are unused. This can be helpful for creating a dictionary, as when you pick an unused right-hand chord the rest of the keys are free to be assigned with no clashes. right-hand in this case is FRPBLGTSDZ

stenodecode.py

Read in a binary file saved to my SD card from my Stentura Fusion, and translate it to raw steno tape output. This allows me to retrieve the text I have written without a realtime connection to plover, and without any specialist software. The plover plugin "plover-cat" can be used to translate the raw steno tape output back into text using your loaded dictionaries.

gen.py

Generate all possible chords from a single stroke and print them. Useful for piping though or using with a python dictionary to generate a .json of all the possible strokes.

powerset.sh

Generate all combinations of specified keys, doesn't create valid steno strokes, so more useful for finding endings or starters to strokes. The current version shows an example of how I would use it to count all the possible endings within a given steno dictionary to find useful clash-free combinations.

p2.erl

A phrase analysis tool written in Erlang. Given a text dataset as input, as well as a limit of how many words maximally exist in a phrase, and finally a list of threads to run with (should be the same as the previous number), this script will locate all possible words and phrases in this text and organise them by some metric. This metric tends to be a function of the number of occurances and how many words exist in that phrase. Thus words or phrases that appear multiple times will be ranked higher, and are thus more suitable to be added into a steno dictionary. This code as it currently stands does not handle multi Gigabyte text corpuses very well, as the text corpus will be stroked multiple times over in small segments to track phrase occurance. I've easily ran out of 128Gb of RAM with this script, so it's best kept to small relevant datasets (or being improved/re-written). "p2.erl" stands for __p__hrase analyser version 2.

practise.sh

A script to extract card entries from my steno Anki desk and put them into a command-line typing tool. Whilst doing this it:

  • extracts the second field containing the text that it matched against
  • shuffles the lines into a random order
  • limits the selection to 100 entries to make sure it isn't too long
  • removes all new lines, replacing them with spaces joining all the lines into 1 (can be improved)
  • uses this text as input for speedpad to display and write against for practise

steno-stuff's People

Contributors

eplhreu avatar

Stargazers

Rice avatar  avatar  avatar  avatar Ansgar Himmel avatar  avatar Violet Bosveld avatar Dani avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.