Introducing: Neologizer!

I think my first ever PHP application is finally ready for public consumption! I made this little script about two years ago while I was teaching myself PHP for a job. It turned out to be pretty interesting.

Here's how it works. You paste some text into the box. Neologizer reads the words and learns some basic rules governing the spelling of whatever language the text is in. Using those rules, it generates new words that are theoretically possible in the language but not present in the sample text. Then, it replaces all the real words of the sample text with these generated neologisms, keeping the formatting intact.

This could be very useful for designers who need filler text for one reason or another but don't want to distract their client with actual, readable text. A common solution is to use a sample of some apparently Latin text that starts, "Lorem ipsum dolor sit . . ." There are two problems with this. One: you don't have control over how the text is split into headings, paragraphs, lists or whatever, and two: it's obviously not English. This second fact makes it distracting, which almost defeats the purpose of using nonsense text.

You might also use Neologizer to generate new words for a constructed language (to be used in speculative fiction probably) or to help brainstorm a name for a new product or website. You could put in a bunch of English words that have the right feel, and Neologizer will give you some non-words with the same feel. Anyway, it's just fun, so check it out!

Just to make it clear what exactly Neologizer does, here are the first two paragraphs of this post neologized:

Usly aces cont bun act Teve ted se post chic stext her obvion! Geng ink nonto youtintract laction whattin thow tever intaceseck enst Twords withe neratext worettlery Twords ables usent ho. Twords hatinamplict lic bable nonsto pasible theirs.

Foreas mysed anglist nereat. Splere defeel logizery lats latever resitext nonto. Lats withile lat engualle tes inglit ords yoused sommon intaretint onew intaretint willernse wit scright wores mysecule ne splats. Wo ned te, twords mysecule almossitext wits te aces herache whave reaso se fearetty scright myseck onew bragraphp stext theirstion res. Nal, anglist tever thille whats iptingual lieng tevereationd lict react puble ords whow on neologiver, conew don enst ings.

Labels: , ,


At May 23, 2008 10:39 PM , Anonymous Bill Chapman said...
Hello from Wales. I wish you well but I wonder why you used your undoubted talents in this way.

Have you ever learned Esperanto? I speak Esperanto and have used it for many years to make travel easier. Of course, Esperanto can be used for any purpose from poetry to pornography, from travel guides to church services (the Bible in Esperanto was first published in 1926!).

It really is easy to learn and use.

Take a look at

With good wishes! Kun bondeziroj!
At May 24, 2008 3:58 PM , Blogger Jonesy said...
I already said why in the first paragraph: to teach myself PHP! I did it for fun, mostly.

But actually, it turned out to be pretty useful. I don't know if you've ever done any Web design or development, but you need filler text quite often, and you can't afford to spend much time creating it. I think this is a great solution!

So... Esperanto really makes travel easier? I would think it'd be easier to find, say... a Spanish speaker in pretty much any country than a speaker of Esperanto. Though, of course, Spanish is harder to learn.

What we need is an international language that truly is logical, simple to learn, and based on English (the closest thing we have to a real, working international language at this point).

Post a Comment