Jelly, 16 bytes
Assuming that we must handle uppercase S and H too and that we must/may return the leftmost distinct "s-words"
ḲŒliⱮ=Ø.ʋƇ)hsQḣ7
A monadic Link that accepts a list of characters and yields a list of the words.
Jonathan Allan
- 115.4k
- 8
- 68
- 293