Sentence:  The <WSD>Euclidean algorithms</WSD> for finding a compound ratio also allowed a ratio and an inverse ratio, and more than two ratios to be compounded, since each compounded pair is equivalent to a single ratio between lines. 
Meaning of the word marked with <WSD> tags:  Any of certain algorithms first described in (Euclid's "Elements").