Automatic population with top results searching each term:
perl -E 'sub flat {map { ref ? flat(@$_) : $_ } @_}
say for flat do "./wordlist.inc.pl"'
Good for testing; definitely requires further moderation to release:
avoiding false friends (e.g. mug commonly isn't a midge), finding better
representations, and at least nicely cropping to aspect ratio.
--- /dev/null
+#!/bin/sh
+CURL='curl -sSf'
+QUERYURL="https://www.google.com/search?tbm=isch&pws=0&hl=nl&num=1&q="
+ARGMATCH='<img [^>]+src="(http[^"]+)"'
+
+for q in "$@"
+do
+ [ -e "$q.jpg" ] && continue
+ echo "$q"
+ QUERYARG="%22$q%22"
+ QUERYRES=$($CURL "$QUERYURL$QUERYARG" | perl -nE "say for /$ARGMATCH/" | head -1)
+ $CURL "$QUERYRES" -o "$q.jpg" || continue
+done