There might be a misunderstanding or a detail you're remembering from a different show or source.
It's possible you're thinking of a scene where she does something else related to Ricky's snoring, like:
* Trying to wake him up: She might have tried various methods to stop his snoring, like making noise, using a feather, or even singing.
* Complaining about it: Lucy frequently expresses frustration and annoyance over Ricky's snoring, which could be a running gag throughout the show.
To clarify, there's no episode where she sits down at a typewriter and transcribes his sleep sounds.