# Morse Code with no spaces

Help me decode this morse code into plain text. I can't solve it because it has no spaces.

Text version: ..-.-..--.-.-...-...-..---.--.....-....-. Ending Part Might be: -- -.-- ... . .-.. ..-., "myself"?

• According to jbowman.com/remorse there are over a quadrillion possible space combinations for this code. Good luck to anyone solving this. Commented Feb 5, 2019 at 15:03
• Morse code is generally impossible to solve without spaces unless you're very lucky with your guesses.
– Deusovi
Commented Feb 5, 2019 at 15:39
• @Deusovi: It shouldn't be too difficult to write a program to brute-force the possibilities. If we assume every word belongs to the dictionary, the vast majority of the quadrillion possibilities will be dropped early, making the search-space feasible. Commented Feb 5, 2019 at 18:20
• @BlueRaja-DannyPflughoeft: I have code to do exactly this somewhere. It was part of extra credit for a code challenge. There should only be a few possibilities that are grammatically acceptable. Commented Feb 6, 2019 at 1:06

A bit gloomy but we can break it up this way

..
-.-./.-/-.
-.-/../.-../.-..
--/-.--/..././.-../..-.

which is

I can kill myself

• I just confirmed that using the jbowman link. Gloo-my.
– Van
Commented Feb 5, 2019 at 15:52

There are many possibilities, but this seems to fit letter-by-letter, word-by-word, and it makes a grammatically valid sentence:

.. / -.-. .- -. -.-. . .-.. . -.. / -- -.-- ... . .-.. ..-.
I  / c    a  n  c    e l    e d  /  m  y    s   e l    f
I canceled myself

Hopefully that means something in context.

Method: Start at known letter boundaries (end, beginning, guess common words). Try all possibilities; attempt longest letters first, since they are rarest, and have the fewest possible follow-ups, so they are easier to rule out.