Skip to content

Simple library (and webapp) for converting phone numbers to mnemonic word sequences

Notifications You must be signed in to change notification settings

rowanseymour/kwibuka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Kwibuka

Kwibuka is a library for generating mnemonics from telephone numbers. It works by using a word list to find all the possible sequences of words and digits for a given number sequence. Then it ranks them given highest scores to sequences with long words, and returns the sequences sorted from best to worst score.

For example, the number 0783835665 can be typed on a phone keypad as 0-steve-look or 0-queue-look or 0-st-eve-look etc.

##Usage

First initialize a wordifier with word list. You can find many free word lists online:

Wordifier wordifier = Wordifier.fromWordlist(new FileReader("myword.list"));

Then you can wordify a number:

List<WordSequence> sequences = wordifier.wordify("0783835665");
for (WordSequence sequence : sequences) {
	System.out.println(sequence.format());
}

##Licence

GNU General Public License version 3

About

Simple library (and webapp) for converting phone numbers to mnemonic word sequences

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages