Q: Does the word "gather" mean the same thing in "Be careful not to stretch or gather your knitting." and "If you want to emphasise the shape, it is possible to gather the waistline."?

A: the same meaning

Q: Does the word "rotation" mean the same thing in "The medical resident finished a two-week rotation in pediatrics and began one in orthopaedics." and "The earth's rotation about its axis is responsible for its being slightly oblate rather than a sphere."?

A: different meanings

Q: Does the word "house" mean the same thing in "She felt she had to get out of the house." and "He has a house on Cape Cod."?

A: the same meaning

Q: Does the word "remove" mean the same thing in "Remove a threat." and "He removed the marbles from the bag."?

A:
the same meaning