Word in context viewer
Explore keyword-in-context results with literal matching and configurable surrounding text.
Find a term in its context
One text at a time, processed in your browser. Avoid entering identifying or restricted material.
CONCORDANCE
LOCALMatches
Results are non-overlapping exact substrings, not lemmas or a significance test. Up to 500 matches are displayed.
Read the word in context
A concordance lists each occurrence with text to its left and right. For example, “bridge” appears twice in the sample, but its immediate context gives different clues about what it represents. Read the whole passage before interpreting a phrase; a short window can omit who is speaking or whether a statement is negated.
The search is literal and non-overlapping: searching for art also matches part of earth, and searching for ana in banana returns one non-overlapping hit. No stemming, automatic word segmentation, spelling variants, Unicode normalization or translation is applied. Case-insensitive search uses JavaScript Unicode simple case folding, which does not cover every language-specific equivalence. Count and context length may differ from tools that use tokenized words or grapheme clusters.
Worked example: how literal substring KWIC behaves across edge cases
Inspecting concordances prevents misreading raw counts, especially when substrings overlap or inflected suffixes change word boundaries:
| Query string | Sample text | Matches returned | Why that result happens |
|---|---|---|---|
bridge (ignore case) | “The old bridge… For some, the Bridge meant home” | 2 | Simple case folding catches both bridge and Bridge |
art (ignore case) | “earth and marble art” | 2 | Literal substring matches inside earth as well as standalone art |
ana (ignore case) | “banana” | 1 | Non-overlapping scan advances past matched characters before next check |
report (match case) | “The Report confirmed reports” | 1 | Case-sensitive mode skips capitalized Report and matches reports prefix |
Checking sense, negation and speaker before citing counts
- Isolate false positives: Pad short roots with spaces (for example search
artor inspect the concordance table carefully) when embedded substrings inflate hit totals. - Widen context windows for negation: Increase context per side up to 100 code points whenever “not”, “never” or conditional clauses sit just outside a short phrase.
- Pair concordances with corpus distribution: After verifying word senses here, check document spread in word frequency across documents and dispersion in the word dispersion calculator.
Results are limited to 500; when more exist the count is marked as a lower bound. Copying shares the displayed snippets, so check confidentiality before pasting them elsewhere. Use the guide to word frequency and context and read the Lancaster corpus linguistics introduction on concordance methods.
Useful context
Before quoting concordance lines
Why did a search for a short word match inside longer words?
This viewer runs an exact literal substring scan rather than tokenized whole-word or regular-expression matching. Inspect the Before and After columns to separate standalone words from longer compounds.
Why are at most 500 concordance matches displayed?
Capping rendered rows at 500 keeps browser memory responsive for large texts up to 200,000 characters. When truncated, the headline count displays a 500+ lower bound.
Does simple case-insensitive search normalize accented letters?
No. Precomposed and decomposed Unicode sequences (or straight vs. curly apostrophes) do not automatically match unless you standardize punctuation and encoding in your source excerpt first.