This package adds apostrophes to english contractions which I copied from this List on Wikipedia. I am not a native English speaker. I might have easily overseen matches that collide with other words. So feel free to open an issue or a pull request, if you see room for improvement.
| Keyword | Replaced |
|---|---|
| aight | a’ight |
| aint | ain’t |
| amnt | amn’t |
| arent | aren’t |
| cant | can’t |
| cause | ’cause |
| couldve | could’ve |
| couldnt | couldn’t |
| darent | daren’t |
| daresnt | daresn’t |
| dasnt | dasn’t |
| didnt | didn’t |
| doesnt | doesn’t |
| dont | don’t |
| dye | d’ye |
| een | e’en |
| eer | e’er |
| everybodys | everybody’s |
| everyones | everyone’s |
| gday | g’day |
| givn | giv’n |
| gont | gon’t |
| hadnt | hadn’t |
| hadve | had’ve |
| hasnt | hasn’t |
| havent | haven’t |
| hed | he’d |
| hes | he’s |
| heres | here’s |
| heve | he’ve |
| howd | how’d |
| howll | how’ll |
| howre | how’re |
| hows | how’s |
| Ill | I’ll |
| Im | I’m |
| Ive | I’ve |
| isnt | isn’t |
| itd | it’d |
| itll | it’ll |
| maam | ma’am |
| maynt | mayn’t |
| mayve | may’ve |
| mightnt | mightn’t |
| mightve | might’ve |
| mustnt | mustn’t |
| mustve | must’ve |
| neednt | needn’t |
| neer | ne’er |
| oclock | o’clock |
| oer | o’er |
| ol | ol’ |
| oughtnt | oughtn’t |
| thatd | that’d |
| thered | there’d |
| therell | there’ll |
| therere | there’re |
| theres | there’s |
| thesere | these’re |
| theseve | these’ve |
| theyd | they’d |
| theyll | they’ll |
| theyre | they’re |
| theyve | they’ve |
| thiss | this’s |
| thosere | those’re |
| thoseve | those’ve |
| thout | ’thout |
| tis | ’tis |
| tove | to’ve |
| twas | ’twas |
| tween | ’tween |
| twere | ’twere |
| wasnt | wasn’t |
| wed | we’d |
| weve | we’ve |
| werent | weren’t |
| whatd | what’d |
| whatll | what’ll |
| whatre | what’re |
| whats | what’s |
| whatve | what’ve |
| whens | when’s |
| whered | where’d |
| wherell | where’ll |
| wherere | where’re |
| wheres | where’s |
| whereve | where’ve |
| whichd | which’d |
| whichll | which’ll |
| whichre | which’re |
| whichs | which’s |
| whichve | which’ve |
| whod | who’d |
| wholl | who’ll |
| whore | who’re |
| whos | who’s |
| whove | who’ve |
| whyd | why’d |
| whyre | why’re |
| whys | why’s |
| willnt | willn’t |
| wont | won’t |
| wouldve | would’ve |
| wouldnt | wouldn’t |
| yall | y’all |
| yat | y’at |
| yesnt | yesn’t |
| youd | you’d |
| youll | you’ll |
| youre | you’re |
| youve | you’ve |