Sentence:  ( Indeed , the set of endings can be <WSD>replaced</WSD> by the name of a set of endings . ) 
Meaning of the word marked with <WSD> tags:  substitute a person or thing for (another that is broken or inefficient or lost or no longer working or yielding what is expected)