Dialect refers to a pattern of speech used in a particular region or area of a country. Different dialects can also be used by different classes of people. Writers often use dialects to develop setting and characters.
Examples of Use of Dialect in Literature
1. In My Fair Lady, Eliza Doolittle has a specific working-class dialect, which the Professor attempts to educate out of her so that she can pass as a "lady."
Lots of chocolate for me to eat! / Lots of coal makin' lots of heat / Warm face, warm hands, warm feet / Oh, wouldn't it be loverly?
2. In Huck Finn, Twain develops characters by having them speak various dialects common to their station in the American South. Jim and Huck speak very differently in the novel:
Jim: "We's safe, Huck, we's safe! Jump up and crack yo' heels. Dat's de good ole Cairo at las', I jis knows it."
Huck: "I'll take the canoe and go see, Jim. It mightn't be, you know."
3. In To Kill a Mockingbird, many of the characters have different dialects, showing their class in the American South:
I was sittin' on the porch, and he come along. Uh, there's this old chifforobe in the yard, and I-I said, 'You come in here, boy, and bust up this chifforobe, and I'll give you a nickel.'