Sentence:  Beccaria had <WSD>almost</WSD> stumbled on a lead to the relationship between electricity and magnetism when a discharge from a Leyden jar was sent transversally through a piece of watch spring steel making its ends magnetic . 
Meaning of the word marked with <WSD> tags:  (of actions or states) slightly short of or not quite accomplished; all but