Consider this example:
\documentclass{report}
%\hyphenation{ENCODE}
\begin{document}
All data used for this study are analysed with a different release of ENCODE \textendash\ the collection of software that is used in simulation and reconstruction.
\end{document}
In the output a new line is started with a dash which seems awkward:
Using ~ to control the line break:
release of ENCODE~\textendash\ the collection
causes also some awkwardness - hyphenation of "ENCODE":
Finally I can prevent the hyphenation of "ENCODE" by uncommenting the line \hyphenation{ENCODE} to obtain the pleasing output:
Can all this ceremony be automated?



--for en-dashes? – Apr 15 '19 at 15:46\mbox{}, but I don't consider it as an improvement. – Apr 15 '19 at 15:53