Analyze English Contractions: What Splitting and Expanding Them Really Changes

How text tools tokenize, expand and normalize English contractions, where meaning and readability are lost, and when to keep the original plain text.

Contractions such as don't, it's and we'll look simple, but they are one of the first places where word tokenization has to make decisions. A tool can split a contraction into parts, expand it into full words, normalize its apostrophe, or leave it alone. Each choice affects word counts, search matching, tagging and how the output reads afterward. This review explains what each transformation does, where it can distort meaning, and when the original text should stay untouched.

Is contraction processing suitable for your use?

Short answer: splitting contractions into tokens is well suited to analysis, while expanding them is suited only to narrow normalization tasks. Neither belongs in text that people will read, share or edit.

  • Good fit: counting words, part-of-speech tagging, building search indexes, and comparing vocabulary across documents. In these tasks, separating the negation or verb from its host word makes patterns easier to detect.
  • Conditional fit: expanding contractions to full forms to reduce vocabulary variation. Use it only if you accept some wrong expansions and keep the original text.
  • Poor fit: anything shown to readers, pasted into documents or messages, or read by assistive technology. Use the original plain text there.

The main benefit is consistency. Do and n't, or do and not, can be counted and matched the same way wherever they appear. The decisive tradeoff is that this consistency is bought with ambiguity. Several contractions have more than one possible expansion, and the split forms are not readable English. A safe workflow keeps the source text intact and treats tokens or expansions as a separate analytical layer.

What the transformation actually changes

There are three distinct operations, and tools do not always say which one they perform.

  • Splitting (tokenization): the stored characters stay the same, but the text is divided into separate tokens at the apostrophe or before a negative ending. Nothing is added or removed except the boundary.
  • Expansion: the contraction is replaced with different characters, such as do not for don't. This rewrites the text and requires a guess wherever the contraction is ambiguous.
  • Apostrophe normalization: visually similar apostrophe characters are converted to a single code point so that matching works. This also changes stored characters, even though the result may look identical.

A widely used convention, from the Penn Treebank annotation scheme, splits a negative contraction before n't and splits other contractions before the apostrophe. This produces some stems that are not words on their own. Individual tools may follow this convention, modify it, or use their own rules, so check the documentation for the tool and version you use.

Contraction | Treebank-style split | Possible expansions | Issue
don't | do + n't | do not | none
can't | ca + n't | cannot, can not | stem ca is not a word
won't | wo + n't | will not | irregular stem
it's | it + 's | it is, it has | depends on the following verb
she'd | she + 'd | she would, she had | depends on context
let's | let + 's | let us | 's is neither is nor has
they're | they + 're | they are | none
ain't | ai + n't | am not, is not, are not, has not, have not | nonstandard, many readings

The example below shows how splitting differs from expansion. The split keeps every original character. A naive word-by-word expansion produces an ungrammatical question, because the full form of a negative question needs reordering (Do you not think) rather than substitution.

Input:            Don't you think she's right? We'll see.
Split tokens:     Do | n't | you | think | she | 's | right | ? | We | 'll | see | .
Naive expansion:  Do not you think she is right? We will see.
Correct rewrite:  Do you not think she is right? We will see.

Even the correct rewrite changes the tone. Do you not think is more formal and emphatic than the contracted question. In a sentence like she's left, the same 's means has, not is. A rule that always expands 's to is would produce she is left, which changes the meaning. The 's ending is also used for possessives (the dog's bowl) and for us in let's, so a tool must tell these cases apart before it can expand anything.

The apostrophe is not one character

Contraction analysis often fails silently because of apostrophe variants. Text typed on a keyboard usually contains the straight apostrophe, U+0027. Word processors and phone keyboards often convert it to the right single quotation mark, U+2019, which is the form Unicode recommends for an apostrophe in running text. The two look nearly the same but are different characters, so a pattern written for one does not match the other.

don't   d o n U+0027 t   (straight apostrophe)
don’t   d o n U+2019 t   (right single quotation mark)
  • Other characters that sometimes stand in for an apostrophe: U+02BC modifier letter apostrophe, U+2018 left single quotation mark (often inserted wrongly by smart-quote correction at the start of forms like 'tis or 'em), and the grave and acute accent characters.
  • A single quotation mark used as a closing quote looks the same as an apostrophe, so a tool cannot tell from the character alone whether the end of a word is a contraction, a possessive plural or a closing quote.
  • Normalizing to one apostrophe before matching fixes most mismatches. Keep the unnormalized original if exact reproduction matters.

What this is not: reverse, mirror and font tools

Contraction analysis is unrelated to text reversal, mirrored glyphs or decorative Unicode fonts, but those tools can interfere with it. Reversing characters turns don't into t'nod, which no contraction rule will recognize. Reversing word order leaves the contraction intact. Decorative font generators replace ordinary letters with look-alike symbols from other Unicode blocks, but they usually have no styled apostrophe. The result mixes symbol letters with a plain apostrophe, and a tokenizer looking for the letters n and t will not find them. Run contraction analysis on the plain source text, not on styled or reversed output.

Will the result stay readable and usable after copying or sharing?

Split and expanded outputs copy as ordinary characters, so copying itself rarely breaks them. The problem is what the copied text has become.

  • Reading: split tokens such as ca n't or she 's are analysis artifacts, not prose. Pasted into a document, they look like typos.
  • Editing: once tokens are joined with spaces or separators, the original spacing is lost unless the tool keeps character offsets or whitespace information. Without that, you cannot reliably rebuild the source sentence.
  • Search: if documents and queries are not normalized the same way, a query for don't typed with one apostrophe may miss documents that use the other. An index that expands contractions while queries are not expanded has a similar mismatch.
  • Assistive technology: screen readers generally handle ordinary contractions in normal text. How a particular screen reader voices detached fragments like n't or 's is not documented in the material reviewed here, so test with the reader and settings your audience uses rather than assuming.

A plain-text equivalent is needed whenever the output leaves the analysis pipeline: published copy, messages, captions, form input, and anything a person will read aloud or edit. Keep the original sentence as the version of record, and attach tokens or expansions as metadata rather than replacing the text.

Checklist for judging a contraction tool

  • Does it state whether it splits, expands, normalizes apostrophes, or a combination?
  • Does it handle both U+0027 and U+2019, and does it tell you which one it outputs?
  • How does it treat ambiguous endings: 's (is, has, possessive, us) and 'd (would, had)?
  • Does it handle irregular forms such as won't, can't and ain't, and leading-apostrophe forms such as 'tis and 'em?
  • Does it preserve character offsets so tokens can be mapped back to the source?
  • Does it leave the original text available alongside the processed version?

Evidence gaps

No tool-specific documentation, accuracy figures or test results were supplied for this review. The behaviors described here are general conventions and Unicode properties, not measurements of any particular product. Tokenization rules differ between tools and can change between versions, and privacy or data-handling practices cannot be judged from a tool's interface. Before relying on a tool, run a small sample with both apostrophe forms and the ambiguous cases above, and confirm the output against its documentation.