GithubHelp home page GithubHelp logo

mhk / steno-jig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshuagrams/steno-jig

0.0 0.0 0.0 8.78 MB

Browser-based Typing Drill Widget

License: MIT License

HTML 0.22% CSS 0.03% JavaScript 99.75%

steno-jig's Introduction

Steno Jig

This is a little browser-based widget for typing drills. I'm using it to teach myself stenotype. It's still early in development, but you may find it useful and/or fun. I have it set up with only a gh-pages branch which means it will show up on the web at: https://joshuagrams.github.io/steno-jig/

index.html has the basic structure you need to use it: for basic exercises you can pass an array of strings (each of which must be a single word with no leading or trailing whitespace or the answer matching won't work).

If the words represent a static text (i.e. a sequence of words in a particular order), that's all you need. If you want to set a time limit, you can also pass a number of seconds. If you pass true as the third argument, the words will be randomized and recycled until the time runs out.

I have a bunch of existing word sets in word-sets.js. One of these sets is the New General Service List: 2800 root words in common use, aimed at ESL students. It's organized as a set of root words with variations, so I've kept the base set that way, and set the code up so that each entry can be an array of words instead of just a single word. In this case, it will randomly shuffle the entries, and then randomly choose from the words in the current entry. But it may be better to use the NGSL_all_forms list which has been flattened and sorted by frequency.

There are also a bunch of translations in plover-translations.js so it can display hints for the next word. Many words have more than one set of legitimate strokes, and it will show all of them unless you filter the given options with TypeJig.longestTranslations or TypeJig.shortestTranslations.


numbers.html has a more complex example which overrides the exercise's nextWord function to generate a sentence at a time and spit out random sentences with lots of numbers in them.

steno-jig's People

Contributors

antistic avatar arxanas avatar cemrajc avatar jasonwoof avatar joshuagrams avatar na2hiro avatar sealiteral avatar slampisko avatar zhukant 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.