Flag-from-Lyric
A computational literary experiment. Paste any lyric, and the system extracts its formal features (repetition patterns, lexical density, emotional register), matches them against a database of real country flags, and explains the correspondence in heraldic blazon.
Lyric Input
Enter at least two non-empty lines.
0 lines
Live metrics
Lines0
Words0
Characters0
Lines required≥ 2
The algorithm analyzes line structure, repetition groups, lexical diversity, and emotional register, scoring against every flag in the library.
Results
Enter a lyric above and press Generate to see the match.
⚑
Your matched flag will appear here after you enter a lyric and press Generate Flag Match.