Identify Prefixes and Suffixes in Words
How affix identification works, what splitting words into prefixes, stems and suffixes changes, where it misleads, and when plain unsegmented text is the better choice.
Breaking a word into a prefix, a stem and a suffix looks simple. Strip the un- from unkind or the -ness from kindness. In practice, affix identification is a form of text transformation. It can clarify how a word is built, or it can produce fragments that no longer read as words. This review explains what the process changes, where it goes wrong, and when you are better off leaving words whole.
Is affix identification suitable for your use?
Identifying word affixes is most useful when you need to see or count the building blocks of words. Examples include teaching vocabulary, grouping related word forms, analyzing morphology, or preparing text for search and tokenization, where reading and readers can be treated as related. The main benefit is that related forms become visible as a family instead of unrelated strings.
The key tradeoff is accuracy against simplicity. Fast rule-based suffix stripping is predictable but often wrong at the edges. It cuts letters that only look like affixes and leaves truncated stems that are not real words. More linguistically careful methods handle more cases, but they still need checking, and their behavior depends on the language and the word list behind them.
Keep plain, unsegmented text when people will read, quote, search or edit the result. Segmented or stemmed output is a working representation for analysis. It is not a replacement for the original wording. Keep the original alongside any transformed version.
What the transformation actually changes
The terms used for this task describe different operations. They change text in different ways, so they are worth separating before you pick a method.
| Approach | What it does | Changes stored characters? |
| Morphological segmentation | Marks boundaries between prefix, stem and suffix, for example with hyphens or plus signs | Yes, if boundary markers are inserted into the text |
| Stemming | Removes suffixes (sometimes prefixes) by rule to reach a shared stem, which may not be a real word | Yes, the output replaces the word with a shorter string |
| Lemmatization | Maps a word to its dictionary form, such as went to go | Yes, the output is a different word form |
| Subword tokenization | Splits words into frequent character sequences for language-processing systems | Yes, in the token stream; pieces need not match real prefixes or suffixes |
| Visual highlighting | Colors, bolds or underlines the affix portion in a display | No, the characters stay the same; only presentation changes |
Separate stored changes from visual ones. Inserting a hyphen or plus sign, or replacing a word with its stem, changes the actual characters, and that change travels with the text wherever it is copied. Highlighting an affix with color or a font style is presentation only. The underlying word is unchanged, and the styling may disappear when the text moves elsewhere.
Affixes also come in two broad kinds that tools may or may not distinguish. Inflectional suffixes such as -s, -ed, -ing and -est mark grammar without creating a new word. Derivational affixes such as un-, re-, dis-, -ness, -ment and -able build new words, often of a different word class. A method suited to grouping verb forms may not be designed to handle derivation, and the reverse also holds.
Where simple splitting goes wrong
The following illustrative segmentations show the mechanism and its common failure points. They are worked examples based on English spelling rules, not output from any particular tool.
replaying -> re + play + ing
unkindness -> un + kind + ness
making -> make + ing (spelled mak|ing: final e dropped)
stopped -> stop + ed (spelled stopp|ed: consonant doubled)
happiness -> happy + ness (spelled happi|ness: y changed to i)
uncle -> uncle (no prefix: "un" is not a morpheme here)
reed -> reed (not re + ed)
went -> go + past (no visible suffix to strip)
- Spelling changes at the boundary mean the visible letters do not always match the underlying stem, so a pure letter-cutting approach can leave stems like mak or happi.
- False affixes: many words begin or end with letters that resemble an affix without being one, such as uncle, reed or under.
- Variant forms of one affix: the negative prefix appears as in-, im-, il- and ir- depending on the following sound, so a list containing only one form misses the others.
- Irregular forms such as went, mice or better have no separable suffix, so only a dictionary-based method can relate them to go, mouse or good.
- Other languages follow different rules: some build long words from many affixes, and English-oriented rules do not carry over.
Unicode and character boundaries
A suffix is a sequence of letters, but software stores text as code points. In Unicode, an accented letter can be stored either as one precomposed character or as a base letter followed by a combining mark. If a tool removes a fixed number of code points from the end of a decomposed word such as café, it can strip the combining accent and leave cafe. Or it can split the accent away from its letter. Reliable affix handling should work on user-perceived characters (grapheme clusters) and normalize text to a consistent form first. The same caution applies to case folding and to any emoji or symbols mixed into the input.
Will the result stay readable and usable after copying or sharing?
- Inserted boundary markers stay in copied text. A word written as un-kind-ness or un+kind+ness will no longer match a search for unkindness, and spell checkers are likely to flag it.
- Stemmed output such as happi is not a dictionary word. It suits indexing or counting, but it reads as an error in anything meant for people.
- Visual highlighting usually does not survive a paste into a plain-text field, so the affix boundaries may disappear completely in the destination.
- Color alone does not mark affixes for everyone. Readers who do not perceive the color distinction, or who use assistive technology that does not announce styling, may not get the boundary information. Pair color with a text cue or an explanation.
- How a particular screen reader pronounces a hyphen- or plus-split word depends on that software and its settings. No scoped test was available for this review, so check with the assistive technology your readers actually use.
- Editing segmented text is awkward: correcting a word means also correcting its markers, and an inconsistent marker style makes later processing unreliable.
If the result will be read, searched or edited by people, or posted anywhere that accessibility matters, keep or supply the plain-text original. Use segmented or stemmed forms as a secondary layer, such as a gloss, a table column or internal data. Do not put them in the main text.
How to recognize what you need and what to search for
The wording of what you want determines the right search term. If you want every word reduced to a shared root for searching or counting, look for stemming or a stemmer. If you want real dictionary forms, such as went becoming go, look for lemmatization or a lemmatizer. If you want to see the boundaries between prefix, stem and suffix, look for morphological segmentation or morphological analysis. If you are dealing with how language models or search engines break words into pieces, the relevant term is subword tokenization. Those pieces should not be read as real affixes. For learning or teaching, prefix and suffix lists or affix dictionaries are often enough without any software.
No specific tools, libraries or settings were verified for this review, so none are named here. When you evaluate a tool, test it on your own words. Include tricky cases such as uncle, making, happiness and an irregular form like went. Include accented words if your text has them. Also check whether the tool documents its language coverage and whether it returns real words or truncated stems.
Gaps in this review
This review is based on general linguistic and Unicode principles. It does not cover measured accuracy figures, comparisons of specific tools, or tests of how a given application or screen reader handles segmented text. Treat any tool's claims about accuracy, supported languages or data handling as unconfirmed until you have checked its documentation and run your own test cases.