I pretend to use DictionaryLookup[{"Language", complex_Pattern}] but can not achieve it finally to get it with like three layers ... Specially, I tried Except[c, p] ... but did not arrive to use it because did not produce de wished output
css_ss _s =
Select[Select[DictionaryLookup[{"Catalan", ___ ~~ "s" ~~ ___ }],
StringMatchQ[#, ___ ~~ "ss" ~~ ___] == False &],
StringMatchQ[#, ___ ~~ "s"] == False &]
But the output is what I pretended, the question is: Is there a less layered way to arrive at the same point?
Cases[...,Except[...]]instead of usingSelect. – Daniel Lichtblau Feb 26 '20 at 18:48Except["ss"]___ well like I told before I do not have strong knowledge on Patterns and Except and about Cases and Select I must recognize that I feel more confortable with Select... finally it worked in this onion-style way – Anxon Pués Feb 26 '20 at 19:06css_ss _s =. Is this what you intended? – mikado Feb 26 '20 at 21:01StringMatchQ[#, ___ ~~ "s"] == False &is equivalent to setting pattern inDictionaryLookupto___~~"s"~~___~~Except["s"]– Wjx Feb 27 '20 at 02:57