Over has two meaning;
: more than (a specified number or amount)
: throughout or during (a particular amount of time)
We can distinguish it in context but sometimes it's ambiguous for me.
For example
I lived there over 5 years.
It's been over a minute.
This kind of sentence is confusing for me. Above all, is it preposition or adverb?
If it's preposition, I copied two examples more from Merriam-Webster.
I've been waiting for over an hour.
happening/occurring/developing over a period of 20 years.
According to the dictionary, it means more than in first sentence but it means during in second sentence. How to know whether over means more than or during?
Plus, what if second sentence was happening/occurring/developing over 20 years.?