Skip to content

mhyfritz/ashram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ashram: acronym search program

Installation

yarn global add ashram

or

npm install -g ashram

Usage

ashram --phrase 'acronym search program'
...
aero
...
anchor
...
ashram
...

By default, acronyms are searched against word-list, but you can also use your own file:

ashram --file <words.txt> --phrase ...

Explanation

Given a phrase, ashram searches a list of words for acronyms of that phrase. The acronyms have following constraints:

  • the first letter of phrase and acronym have to match
  • for every word in the phrase at least one character has to match in the acronym