Revision 02fcb2ec-a95e-4231-b7b0-3410132931e2 - Code Golf Stack Exchange

# [Jelly], 19 [bytes]

<sup>Assuming that we must handle uppercase `S` and `H` too and that we must/may return the leftmost distinct "s-words"</sup>

 Œlḣ2nTS⁼2
 ḲçƇ⁾shQḣ7

A monadic Link that accepts a list of characters and yields a list of the words.

**[Try it online!][TIO-l12o8pgp]**

[Jelly]: https://github.com/DennisMitchell/jelly
[bytes]: https://github.com/DennisMitchell/jelly/wiki/Code-page

[TIO-l12o8pgp]: https://tio.run/##LUu7DcIwEO2Z4mZIwxBUyCxgyCEbDtvy2YlSpkqfFSjoqVIgmgj2SBYxjkjx/noXJGpS@vQ0DffCHMTcvorNNDzHx7eb2zerfR62aex2KbFDLGFlYOmU9gisbKRcKOmWIDOAec0GazhJD0drryCwQpN/JThbo4dzNCCiy47jDVhzWKym6i/UAAfpww8 "Jelly – Try It Online"

AltStyle によって変換されたページ (->オリジナル) /