"A Swedish software company has created a new app that records and analyzes what you say during sleep. You can tell the app is working when it's mad at you the whole next day."