Is it considered as anadiplosis (顶真) when the same character repeats but means differently? In &quot;顶真&quot;, one uses a word near the end of the clause and then repeats that word to begin the next clause. For example, 忽聞海上有仙山，山在虛無縹緲間.
What if the same character repeats but means differently in different clauses? Is it still considered as &quot;顶真&quot;？
For example:

旅行社刚刚开张，张三就去了印度，度过了一段美好的时光，光是恒河就去了好几次，次年又去了日本，本来是很好的经历，历时一年有余，余与他一路同行，行了我编不下去了。

Edit:
According to Wikipedia, (顶真) &quot;是指上句的結尾與下句的開頭使用相同的字或詞，用以修飾兩句子的聲韻方法。需要注意的是，使用這個方式時，毋須限制上下句的字數或平仄，但上下句交接點一定要使用相同的字或詞&quot;。
It seems to me that only the same character (or word) is required but not necessarily the same meaning.
頂真 is a rhetoric method to make sentences reading more smoothly or meaning more tightly.
The connected words should be the same meaning. Check the following examples:

將軍百戰死，壯士十年歸。歸來見天子，天子坐明堂: 歸-&gt;come back, 天子-&gt;emperor
江南可採蓮，蓮葉何田田: 蓮-&gt;lotus
我出了村就過了河，過了河就進了城: 過了河-&gt;across the river

But for your example like:

度 is part of India (印度) on the left and means &quot;passing&quot; on the right.
光 is part of &quot;time&quot; (時光) on the left and part of the adverb &quot;just&quot; (光是) on the right.

These above should not be counted as proper anadiplosis rhetoric method, maybe only 历 (past meaning in general).