It feels like a commonly known thing that that's how pirates talk(ed). Where did we get this association?
u/The_Truthkeeper answered a similar question:
Are phrases like "Arrrrrr!" and "Shiver me timbers!" and "Avast ye!" and other stereotypical "pirate" phrases actually from pirates from the sailing period? What are the origins of "pirate speak" as we might colloquially know it as today?