Problem: Sentence1: The sudden apparition of the Spaniards. -- William H. Prescott.
Sentence2: Natives were amazed at the apparition of this white stranger.
Q: Does the term apparition mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: The Pauli Exclusion Principle prevents two fermions from occupying the same state.
Sentence2: The principles of democracy.
Q: Does the term principle mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: The queen and her court traveled to the city to welcome back the soldiers.
Sentence2: The house was built around an inner court.
Q: Does the term court mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: A cabbage patch.
Sentence2: Doesn't that patch of clouds looks like a bunny?
Q: Does the term patch mean the same thing in both these sentences?

Answer:
different meanings