[% FOREACH entry IN list %]
[% entry.word %]
[% UNLESS entry.word.match('\d') # can't add words with numbers %] [ add [% entry.word %] to dictionary ] [% END %]
[% IF entry.suggestions.size %] [% FOREACH link IN entry.suggestions %] [% link.display %] [% UNLESS loop.last %]:[% END %] [% END %] [% ELSE %] sorry, no suggestions found [% END %]
[% END %]