If you have the sound liang but not the character, here are the 2 characters read this way: 两 (liǎng, two (of); a pair; the tael, the other word for two), 量 (liàng, quantity, capacity; to measure). They split across 2 tones, so the tone is what separates them.