From somni- (“sleep”) + -loquy (“speaking, speech”).
somniloquy (countable and uncountable, plural somniloquies)