Giter VIP home page Giter VIP logo

shell-ipa's Introduction

Shell IPA

Simple shell script for retriving hard to write symbols via smart fuzzy finding search!

showcase

Linux Installation

clone this repo to some location

git clone https://github.com/Edvid/shell-IPA $HOME/.shell-ipa

add that location to your path

echo 'PATH="$HOME/.shell-ipa:$PATH"' >> $HOME/.bashrc
# You may also just paste PATH="$HOME/.shell-ipa:$PATH" into your .bashrc file manually

enjoy ipa shell script!

echo h$(ipa midcent)l$(ipa midcent)$(ipa nearcloback) w$(ipa opmidcentunr)$(ipa long)ld
# Should produce:
# hələʊ wɜːld

Usage

the ipa shell script can be used in two ways, with and without parameter

Without parameter

if you just run

ipa

you will be met by a fuzzy finder screen where you can search for the symbol you're looking for by name. Wiht a fuzzy finder you won't have to type the exact name of the symbol you're looking for. For example, to find the "Voiceless_uvular_plosive", the search "voiceless_u" will suffice, but so will "lessuvu" and even "lsu". To find the "Voiceless_uvular_fricative", the search "voiceless_uvular_f" would be needed without fuzzy finding, but with fuzzy finding, "lsuf" would be enough.

You can also use the arrow keys (or CTRL+j CTRL+k) to navigate between all options that match the fuzzy finding, but it defaults to what the search engine thinks is the best fit given your search. You select by pressing Enter.

With parameter

You can also use the program with a single parameter

ipa omfrr

This will return the letter it believes is the best match given the parameter, without opening an interactive fuzzy finder. This means it can be used in compound commands like so

echo Danish person thinking: $(ipa omfrr)$(ipa long)m
# Produces:
# Danish person thinking: œːm

shell-ipa's People

Contributors

edvid 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.