Skip to main content

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.