Elamur Research⌕
☰
home / papers / 2008 / The Linguistic Structure of English Web-Search Queries

The Linguistic Structure of English Web-Search Queries

Paper · 2008 · Cory Barr, Rosie Jones and Moira Regelson

Summary

Although web-search queries are widely recognized for their brevity, their grammatical structure has rarely been investigated. The authors examine whether part-of-speech tagging can be applied to English queries and whether it helps search. They sampled Yahoo! queries from August 2006 and lower-cased, spell-corrected and Penn-tokenized them. Then they designed a reduced tag set of 19 classes and hand-annotated several thousand queries. The annotation shows that queries are dominated by nouns, especially proper nouns, while verbs and function words are rare. Most queries form noun phrases rather than loose lists of words. A Brill tagger trained on the labeled queries performed much better than taggers built from conventional corpora such as Brown. The authors also ran initial retrieval experiments. POS-based features ranked high among the features of a machine-learned ranking system, though they did not significantly improve overall relevance. POS tags also predict which words users swap when they reformulate a query. The work matters because it treats queries as their own language variety, with its own distribution and syntax, rather than as degraded sentences.

Key points

  • Data: 3,283 sampled queries, of which 2,508 were unique, totalling 8,423 tokens. Tagger experiments used 10-fold cross-validation on 1,602 and later 2,503 labeled queries.
  • Tag distribution: The tag set has 19 classes, compared with roughly 90 in Brown.
    • Proper nouns make up 40.2% of tokens, and nouns plus proper nouns about 71%.
    • Verbs account for only about 2.35% and determiners about 0.66%.
    • In Brown, the most frequent tag (noun) covers only about 13% of tokens.
  • Inter-annotator agreement: 79.3% at token level and 65.4% at query level, with Cohen's kappa of 0.714 and 0.641. Of 99 conflicting token labels, 69 were judged to reflect genuine ambiguity rather than annotator mistakes.
  • Capitalization: Only 16.8% of 290,122 queries contained any capital letters, and usage was inconsistent, so case is a weak cue for proper nouns.
  • Retrieval experiments:
    • A query-level "contains a noun or proper noun" feature ranked in the top 13% of ranking features.
    • A feature measuring query–document POS agreement for shared words ranked in the top 12%.
    • Neither feature yielded a statistically significant relevance gain.
    • Substitution probability across reformulations is highest for numbers (0.49), then adjectives (0.46), nouns (0.42) and proper nouns (0.39).

Interesting ideas

  • I1. Coarse tag set for fragmentary text: The authors shrank the tag set to the classes that actually occur in queries, because rare fine-grained tags made annotation harder without adding useful distinctions. They kept a simple mapping to conventional tag sets.
  • I2. Sorting disagreements into error versus ambiguity: An adjudicator reviewed each label conflict and decided whether it was a mistake or a case where several readings are valid. This showed that most disagreement came from ambiguity, not sloppy annotation.
  • I3. Reformulation behaviour reveals core versus modifier words: How often users swap a word between consecutive queries, broken down by POS, separates stable meaning-bearing words (proper nouns) from adjustable slots (numbers, adjectives).
  • I4. POS agreement as a matching signal: Instead of only matching identical words between query and document, the authors checked whether each shared word carries the same tag in both. This cheaply filters out matches where the word has a different sense or function.
  • I5. Not relying on capitalization: Because case in queries is rare and inconsistent, the authors suggest that proper-noun detection should draw on external lexicons or entity recognition instead.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (tokens): Titles, headlines and short questions could get a coarse tag layer with a deterministic mapping back to full UPOS/XPOS, so fragment-like inputs are tagged reliably without losing compatibility.
  • I2 (learn): When witness parsers disagree on silver data, conflicts could be labeled as error or genuine ambiguity, and ambiguous items kept with multiple accepted analyses instead of forcing one gold answer.
  • I3 (answer): When matching a question to text, nouns and names could serve as fixed anchors, while numbers and adjectives are treated as variable slots to check or vary, which makes the matching logic explainable.
  • I4 (answer): For QA over fables and school texts, a passage could count as supporting a question only when shared lemmas also share their tag and dependency role, an inspectable check that avoids bag-of-words matching.
  • I5 (tokens): For informal or lower-cased input, the tagger could consult WordNet/Wikidata-derived name lists before trusting case, which reduces proper-noun errors that later damage entity tracking.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Cory Barr, Rosie Jones and Moira Regelson. 2008. The Linguistic Structure of English Web-Search Queries. Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{barr2008linguistic,
  title = {{The Linguistic Structure of English Web-Search Queries}},
  author = {Cory Barr, Rosie Jones and Moira Regelson},
  booktitle = {Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing},
  year = {2008},
  doi = {10.3115/1613715.1613848},
  url = {https://doi.org/10.3115/1613715.1613848}
}

References

15 references, 3 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. James Allan and Hema Raghavan. 2002. Using part-of-speech patterns to reduce query ambiguity. In Proceedings of SIGIR, pages 307–314. find
  2. Kevin Bartz, Cory Barr, and Adil Aijaz. 2008. Natural language generation in sponsored-search advertisements. In Proceedings of the 9th ACM Conference on Electronic Commerce, pages 1–9, Chicago, Illinois. find
  3. Eric Brill. 1995. Transformation-based error-driven learning and natural language processing: A case study in part-of-speech tagging. Computational Linguistics, 21(4):543–565.
  4. Abdur Chowdhury and M. Catherine McCabe. 2000. Improving information retrieval systems using part of speech tagging. find
  5. Fabio Crestani, Mark Sanderson, and Mounia Lalmas. 1998. Short queries, natural language and spoken document retrieval: Experiments at glasgow university. In Proceedings of the Sixth Text Retrieval Conference (TREC-6), pages 667–686. find
  6. Erika F. de Lima and Jan O. Pederson. 1999. Phrase recognition and expansion for short, precision-biased queries based on a query log. In Annual ACM Conference on Research and Development in Information Retrieval Proceedings of the 22nd annual international ACM SIGIR conference on Research and development in information retrieval, pages 145–152, Berkeley, California. find
  7. Bekir Taner Dincer and Bahar Karaoglan. 2004. The effect of part-of-speech tagging on ir performance for turkish. pages 771–778. find
  8. Bernard J. Jansen, Amanda Spink, and Tefko Saracevic. 2000. Real life, real users, and real needs: a study and analysis of user queries on the web. Information Processing and Management, 36(2):207–227. ↗
  9. Christina Amalia Lioma. 2008. Part of speech N-grams for information retrieval. Ph.D. thesis, University of Glasgow, Glasgow, Scotland, UK. find
  10. Marius Pasca. 2007. Weakly-supervised discovery of named entities using web search queries. In CIKM, pages 683–690. find
  11. Amanda Spink, B. J. Jansen, D. Wolfram, and T. Saracevic. 2002. From e-sex to e-commerce: Web search changes. IEEE Computer, 35(3):107–109. ↗
  12. Tomek Strzalkowski, Jose Perez Carballo, and Mihnea Marinescu. 1998. Natural language information retrieval: Trec-3 report. In Proceedings of the Sixth Text Retrieval Conference (TREC-6), page 39. find
  13. Kristina Toutanova and Christopher D. Manning. 2000. Enriching the knowledge sources used in a maximum entropy part-of-speech tagger. In Proceedings of the Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora (EMNLP/VLC-2000).
  14. Kristina Toutanova, Dan Klein, Christopher D. Manning, and Yoram Singer. 2003. Feature-rich part-of-speech tagging with a cyclic dependency network. In Proceedings of HLT-NAACL, pages 252–259.
  15. Ingrid Zukerman and Bhavani Raskutti. 2002. Lexical query paraphrasing for document retrieval. In COL-ING, pages 1177–1183, Taipei, Taiwan. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/barr-2008-linguistic-structure-english-web-search/