Sentence:  Both were dressed rather <WSD>formally</WSD> . 
Meaning of the word marked with <WSD> tags:  in a formal manner