Testing Search with Ordinary Spelling Variants

A retrieval test can distinguish casing, punctuation, spacing variations, and true word changes under the intended normalization.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace two variants
  2. Check expanding coverage
  3. Compare corrected coverage and unwanted expansion
  4. Tune for the field readers use

Trace two variants

“UTF-8” and “utf8” may be treated as aliases for one term. “UTF-16” should remain distinct in a query looking specifically for UTF-8. See normalizing terms.

Check expanding coverage

A broadened hyphen rule can improve one query and produce irrelevant results for another, depending on the expected terms. Precision and recall describe complementary effects.[1]

Compare corrected coverage and unwanted expansion

A test set includes query “catalogue” and a variant “catalog.” If expansion adds relevant results for one, compare how many unrelated records also appear near the top. Keep judgments for spelling families separate from unrelated typos. See search precision.

Before: variant query misses expected document
After: intended hit enters top five
Verify number of unrelated new hits and effect on exact query

Tune for the field readers use

A short product code may need exact lookup, while natural-language text can tolerate variants. Test stable IDs and ordinary vocabulary under their respective rules.

References

  1. Christopher D. Manning, Prabhakar Raghavan and Hinrich Schütze, Introduction to Information Retrieval ↩