Sentence:  ‘Poor soul - she was quite in a <WSD>taking</WSD>. You see, she'd opened the door to the next compartment by mistake.' 
Meaning of the word marked with <WSD> tags:  A state of mental distress, resulting in excited or erratic behavior (in the expression "in a taking").