Sentence:  In this <WSD>way</WSD> , the private detective gets the best of two possible worlds . 
Meaning of the word marked with <WSD> tags:  how something is done or how it happens