A soliloquy is when a person in a play speaks aside speaking the thoughts of their character.
Soliloque
Chiara Montini has written: ''La bataille du soliloque'' 'I vescovi di Brescia' -- subject(s): Bibliography, Bishops, Catholic Church, Catholic Church. Diocese of Brescia (Italy), Church history
Soliloquy is not itself a form of dramatic irony. Soliloquy is a theatrical device in which a character speaks their thoughts out loud without addressing others. Dramatic irony, on the other hand, is when the audience knows something that the characters do not, creating tension or irony.
It's more a question for English speakers. Words like "arabesque", "Lalique", "soliloque" maybe? Try to find an online dictionary where you can provide patterns like "*que". I wrote such a macro in Microsoft Word once about 15 years ago... ^-^