Giter VIP home page Giter VIP logo

truthimiser's Introduction

truthimiser

A typo maker!

• How to run

Run on Linux (and hopefully with the same file and method, on MacOS)

./truthimiser_linux.out
Or build your own from source.

Run on Windows

Start it from from the icon.
Alternatively, start it via cmd/powershell by
.\truthimiser_win.exe
Or build your own from source.

• How to use

Whichever method you used, you'll be presented with the program's textual interface. Simply input a line of the text you want truthimised, or provide the text as standard input:

  • Linux: ./truthimiser_linux.out "hello yes this is the input text"
  • Windows: .\truthimiser_win.exe "yes hello this is standard input"

Multiline standard input is not currently supported. Input !license or !source to view the license or the link to this repo, in-program.

The program will spit out a (hopefully) typo'd version of the input sentence - but could also randomly not make a typo at all.

• How it works

Truthimiser works by going through the input text character by character, and at a random chance, randomly selecting a neighbour of the character's key on a keyboard - using a dictionary of keys, where nearly each key used for typing on a US layout keyboard has a list of its neighbours, that you can hit by misrake, I mean mistake ;)

• Why "truthimiser"?

It's a subtle nod to someone who inspired me to make this.

truthimiser's People

Contributors

5ucur 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.