Complex sentence: Words may have several different antonyms, depending on the meaning: both "long" and "tall" can be antonyms of "short".
Split into simpler sentences: Words may have different antonyms, depending on the meaning. Both "long" and "tall" are antonyms of "short".