Solution:Somniloquy - the act or habit of talking in one's sleepSoliloquy - the act of speaking thoughts aloud in this way
Monologue - a long speech by one person, for example in a play
Prologue - a piece of writing or a speech that introduces a play, poem, etc.