Wordalizer | A Tribute to Wordle
January 08, 2010 | Wordalizer | en | fr
Wordalizer is a word cloud builder for InDesign CS4. Try now the beta version of this experimental script —inpired by the magnificent Wordle web tool created by Jonathan Feinberg.
I began to work on Wordalizer for InDesign in September 2008! Jonathan Feinberg had just launched its brilliant Wordle Java applet and I was highly impressed by the typographical perfection that Wordle could reach in word clouding. I was naively dreaming to operate the same way from the InDesign DOM! Too much confident in my scripting abilities, I still hadn't realized how powerful the Feinberg's core algorithm was, until I found this post on “Kelso’s Corner” blog. Feinberg says: “It’s not quite ‘simple bounding box,’ which wouldn’t permit words inside words, or nestling up to ascenders and descenders. It’s full glyph intersection testing, but with a sprinkle of CS applied to make it work at interactive speeds.”
Yes indeed! The hardest part of the whole challenge is in speeding up hit-tests, and you can't imagine what this Java performance problem looks like when translated into the InDesign JS context! After remaining at a standstill for a long time, I decided to start my script from the beginning again. In spite of the fact that the Wordle's code partly belongs to IBM, Feinberg has left a few clues about the algorithm. The most important one is outlined here: “Algorithm to implement something like Wordle”. I also found an enlightening paper on IBM Research: “Participatory Visualization with Wordle” (PDF) —by Fernanda B. Viégas, Martin Wattenberg, and Jonathan Feinberg.
While using similar techniques (quadtree spatial indexing and hierarchical bounding boxes), Wordalizer for InDesign cannot compete with Wordle in terms of performance. Well, it's just a script, but I hope you'll enjoy the TRY version.
The screenshot above illustrates the main interface dialog. (Note that the TRY version disables the “Edit weighted list” checkbox and doesn't allow the user to keep the previous lexicon extraction and settings.)
Here is the “Weighted Word List” edition window (when enabled):
And now the resulting word cloud (based on Márquez' “One Hundred Years of Solitude”):
Another one with other parameters:
The current version of Wordalizer supports the English and French languages. Extract the WordalizerTry.jsxbin file and install it in your InDesign Scripts folder.





Comments
Excellentissime, OuScriPo en diable…
Merci, ami, d'avoir encore passé des nuits à réaliser ce script totalement improbable… A nouveau, permets moi de te sermonner (!!), des end-users comme moi sommes prêts à débourser quelques euros car l'usage de ce script dans de nombreux domaines (dont les blogs, si, si…) fonctionne comme une signature poétique rafraîchissante…
Je viens de le faire pour le prochain livre que l'on va publier... c'est bluffant ;-)
Et voilà un script que l'on va retrouver sur de nombreuses couvertures, foi de graphiste de livres…!
Demain dans urbanbike.
Dommage qu'il ne fonctionne pas sur la CS3 :(
> Dommage qu'il ne fonctionne pas sur la CS3 :(
Oui, Patrick, je le regrette également. La rétrocompatibilité n'est pas une partie de rigolade, surtout avec les scripts exportés en binaire (jsxbin). Je n'exclus pas cependant de m'attaquer à une version CS3 si la vague de protestation devient tsunamique ;-)
Au passage, merci pour le beau billet publié sur patpro: http://www.patpro.net/blog/index.ph...
Great tool! Thank you!
Any chance Wordalizer will support Russian?
Very cool, thanks!
Je voudrai bien avoir un espace pour faire la promotion de ton superbe travail. Mais cela sera bientôt possible ;-)
Bravo, tous mes respects et comme Jean-Christophe le dit, on va voir du Wordalizer à toutes les sauces!!!
A+ et amitiés Loic
Mon ami, this is great! :)
Merci!
@ Rusticos
> Any chance Wordalizer will support Russian?
That's not technically a problem, but I need two things:
1) A Russian translation of the UI strings
2) A Russian "stop word" list to make Wordalizer skip the non-semantic words
Can anybody help me?
so cool! I love it :D thank you
I can help you with Russian.
Give me all the UI strings and I'll translate them (but there's no much need in this as English graphic interface will do)
Stop word list is also possible to do. Maybe you'll just work with all the words without exceptions (like Wordle does) for the first time?
Nadya
It is absolutely a fantasy.
I was dreaming of learn Rhino 3D to design and make illustration but this project is a door to many things.
It is possible to use lines, vectors, etc?
Thanks to all for your plebiscite!
@ Nadya Miloserdova
Thank you too. Wordalizer will work with Russian. Another pen friend sent me a stop word list. As you said, he told me that English is much better suitable for UI than Russian...
@+
Marc
You can use the Russian stop word list that Wordle uses, by downloading the cue.language package from github: http://github.com/vcl/cue.language
This seems interesting, but I'm not sure how to get it to work. I've dropped the script in the script folder, but don't know where or how to launch it. Can you clarify how this is done?
Hi,
how I can get the full version. I cannot found any word to buy this script. Sorry my bad english.
Thanks for answer,
with best regards,
peppi
@ Jonathan Feinberg
Thank you for the "cue.language package" link. It seems to be a goldmine ;-)
- - -
@ Vong Lee
> I've dropped the script in the script folder,
> but don't know where or how to launch it
Make sure you drop the WordalizerTry.jsxbin file in the "Scripts Panel" subfolder of your "Scripts" folder. Then the script will appear in your InDesign script panel (Window > Automation > Scripts). For more information about installing scripts, see the excellent Peter Kahrel's general overview here: http://www.kahrel.plus.com/indesign...
- - -
@ peppi
> how I can get the full version. I cannot
> found any word to buy this script
Thanks for your message. For the time being Wordalizer is provided as a BETA "Try" version, I'm still working on the final full version ;-)
Kind regards,
Marc
you saved my ass, i have lokked for sth like this for hours! now it'll save me DAYS of work! thanks a lot!
ou: merci beaucoup!
Can't wait for the full version, but will it leave the words as 'live' text so any spelling mistakes can be corrected on the final cloud?
Hi Phil,
The full version won't leave the words editable on the final cloud because it's pure vector shape. But the full version lets you edit the words (add, delete, modify, even change weight) BEFORE the process, so you can correct any mistake at this level.
@+
Marc
any way this will work with CS3?
Vraiment sympa !
Et la cerise sur le gâteau serait de pouvoir utiliser le nuancier d'un document comme "thème"... :D
Thanks for this fantastic tool. I can't wait to buy the final version!
Best regards
Max