Whatdidjusay?

Sep 20, 2015 16:00

The mother of all invention

I’ve been tickering with and slowly learning Go for a couple of months now. I often find that the best way for me to learn a new language is to actually build something with it. However, figuring out what to build can be a task in and of itself. So, I thought long and hard about any problems or annoyances in my everyday tech life that Go could help solve.

On a semi-regular basis, I find myself needing to phoenetically spell things for people; I’m terrible at doing this on the fly. Out of this need was born a quick and dirty solution for doing all the heavy-lifting of phonetically spelling things for me.

Installation

Go here (see what I did there?)

Examples

$ whatdidjusay --word internationalization
India
November
Tango
Echo
Romeo
November
Alfa
Tango
India
Oscar
November
Alfa
Lima
India
Zulu
Alfa
Tango
India
Oscar
November

Because most people won’t get it when you say: “i18n”

$ whatdidjusay --word antidisestablishmentarianism
Alfa
November
Tango
India
Delta
India
Sierra
Echo
Sierra
Tango
Alfa
Bravo
Lima
India
Sierra
Hotel
Mike
Echo
November
Tango
Alfa
Romeo
India
Alfa
November
India
Sierra
Mike

Don’t look at me like that. I need to spell “antidisestablishmentarianism” at least twice per year! ;)

$ whatdidjusay --word pneumonoultramicroscopicsilicovolcanoconiosis
Papa
November
Echo
Uniform
Mike
Oscar
November
Oscar
Uniform
Lima
Tango
Romeo
Alfa
Mike
India
Charlie
Romeo
Oscar
Sierra
Charlie
Oscar
Papa
India
Charlie
Sierra
India
Lima
India
Charlie
Oscar
Victor
Oscar
Lima
Charlie
Alfa
November
Oscar
Charlie
Oscar
November
India
Oscar
Sierra
India
Sierra

Yes that’s a word. And, yes it’s 45 chars long.

Needs moar features

Someday when I’m motivated enough, I’ll add hints for spelling. After all, the tool is really only useful if you’re spelling the word correctly.

Happy spelling!