hard
The bears bear hard hard yarn yarns.
The sentence parses as 'the bears endure tough yarns made of stiff string' — using 'hard' first as adverb modifying the difficulty, then as adjective modifying the yarn.

Meanings (pronounced /hɑːrd/)
with great force, intensity, or effort
- She hit the ball hard.
- We tried hard to win.
rigid, firm, or difficult to penetrate; or, demanding great effort
- Diamond is the hardest natural substance.
- Calculus was a hard subject.
Word origin
From Old English heard, from Proto-Germanic *harduz, from Proto-Indo-European *kortú-. The same root produces Greek kratos ('strength, power') as in 'democracy' and 'aristocracy.' The adverbial use ('with effort') is just as old as the adjectival ('rigid'), both inherited from Old English.
Fun fact
'Hard' as an adverb meaning 'with effort' (work hard, try hard) is older than the now-more-common '-ly' form 'hardly.' Confusingly, 'hardly' has drifted in meaning to mean almost the OPPOSITE — 'barely, scarcely.' So 'I worked hardly' would mean 'I scarcely worked,' while 'I worked hard' means the opposite. The pair is a famous trap for English learners.