---
title: "An Algorithm for Generating Quantifier Scopings — Hobbs 1987"
description: "Hobbs and Shieber present an explicit algorithm, with nondeterministic and deterministic versions… 10 references, cited by 34 papers here."
authors: ["Jerry R. Hobbs", "Stuart M. Shieber"]
year: 1987
venue: "Computational Linguistics"
source: "https://aclanthology.org/J87-1005/"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/hobbs-1987-algorithm-generating-quantifier-scopings/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/hobbs-1987-algorithm-generating-quantifier-scopings/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [1987](https://md.research.elamur.ai/free/en/papers/1987/) / An Algorithm for Generating Quantifier Scopings

# An Algorithm for Generating Quantifier Scopings

**Authors:** [Jerry R. Hobbs](https://md.research.elamur.ai/free/en/authors/jerry-r-hobbs/) and [Stuart M. Shieber](https://md.research.elamur.ai/free/en/authors/stuart-m-shieber/) · **Year:** 1987 · **Venue:** [Computational Linguistics](https://md.research.elamur.ai/free/en/venues/cl/) ([Computational Linguistics 1987](https://md.research.elamur.ai/free/en/venues/cl/1987/)) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

**Links:** [Publisher's page](https://aclanthology.org/J87-1005/) · [PDF](https://aclanthology.org/J87-1005.pdf) · [OpenAlex](https://openalex.org/W2147980656)

**Citations:** 128 citations (OpenAlex, 2026-10-14) · [34](https://md.research.elamur.ai/free/en/papers/hobbs-1987-algorithm-generating-quantifier-scopings/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
Syntax usually makes predicate-argument structure clear, but it does not show how quantifiers and modals scope over one another. Earlier systems either ignored scope or used vague or over-generous mechanisms. The common one simply permutes the quantifiers, giving n! readings, many of them structurally impossible. Hobbs and Shieber present an explicit algorithm, with nondeterministic and deterministic versions, that turns an unscoped predicate-argument encoding into fully scoped logical forms.

The input uses "complex terms", which are triples of quantifier, variable and restriction. The output uses three-part quantified formulas (variable, restriction, body), following Woods and Moore. Terms are pulled out from the inside outward. A term may be applied only if every variable free in it is also free in the surrounding formula. The authors prove this rule never yields unbound variables.

The algorithm produces exactly the structurally legitimate scopings and also handles scope relative to opaque operators such as negation. It is meant as a sound, complete benchmark and as a base for heuristic, efficiency-oriented scoping.

## Key points
- For the example sentence in which each company's representatives are said to have seen the majority of samples, permuting the quantifiers yields 6 readings, of which just 5 are valid. For a five-quantifier example sentence, 42 readings are valid versus the 120 that permutation produces.
- The excluded readings follow from separating restriction and body. A quantifier from elsewhere in the sentence cannot fall between a head noun's quantifier and the quantifier of a noun phrase inside that noun's complement.
- Cooper storage is criticised because, for such readings, it produces expressions with an unbound variable and a vacuous quantifier.
- Opaque operators are covered: "Everyone isn't here" receives two readings.
- Ordering heuristics, such as keeping left-to-right order or giving wide scope to PP complements, can be added by steering the nondeterministic choices, though only to a limited extent. Donkey sentences fall outside the algorithm because their input structures are ill-formed.

*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

- [Stanford University](https://md.research.elamur.ai/free/en/universities/stanford-university/) — University, Stanford, United States · 434 works · 314,419 citations
- [SRI International](https://md.research.elamur.ai/free/en/labs/sri-international/) — Research institute, Menlo Park, United States · 23 works · 7,208 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works

## Cite

Cite as: Jerry R. Hobbs and Stuart M. Shieber. 1987. An Algorithm for Generating Quantifier Scopings. Computational Linguistics.

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

```bibtex
@article{hobbs1987algorithm,
  title = {{An Algorithm for Generating Quantifier Scopings}},
  author = {Jerry R. Hobbs and Stuart M. Shieber},
  journal = {Computational Linguistics},
  year = {1987},
  url = {https://aclanthology.org/J87-1005/}
}
```

- [← previous Analyzing the Structure of Argumentative Discourse](https://md.research.elamur.ai/free/en/papers/cohen-1987-analyzing-structure-argumentative-discourse/)
- [next → Disambiguating Prepositional Phrase Attachments by Using On-Line Dictionary Definitions](https://md.research.elamur.ai/free/en/papers/jensen-1987-disambiguating-prepositional-phrase-attachments-line/)
- [↑ back to papers of 1987](https://md.research.elamur.ai/free/en/papers/1987/)

## References

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

1. Barwisc, Jon and Coopcr, Robin 1981 Generalized Quantificrs and Natural Language. Linguistics attd Philosophy 4(2): 159-219. [find](https://scholar.google.com/scholar?q=Barwisc%2C+Jon+and+Coopcr%2C+Robin+1981+Generalized+Quantificrs+and+Natural+Language%2E+Linguistics+attd+Philosophy+4%282%29%3A+159%2D219%2E)
2. Cooper, Robin 1 9 8 3 Quant~[Tcation and Syntactic Theory. Rcidcl, Dordrecht. [find](https://scholar.google.com/scholar?q=Cooper%2C+Robin+1+9+8+3+Quant%7E%5BTcation+and+Syntactic+Theory%2E+Rcidcl%2C+Dordrecht%2E)
3. Cushing, Stevcn 1976 Thc Formal Semantics of Quantification. Ph.D. dissertation. Univcrsity of California, Los Angclcs. [find](https://scholar.google.com/scholar?q=Cushing%2C+Stevcn+1976+Thc+Formal+Semantics+of+Quantification%2E+Ph%2ED%2E+dissertation%2E+Univcrsity+of+California%2C+Los+Angclcs%2E)
4. Grosz, Barbara J.; Appclt, Douglas E.; Martin, Paul; Pcreira, Fcrnando C.N.; and Shinkle, Lorna 1 9 8 5 The TEAM Natural-Language Interface System. Final Report, Project 4865. Artificial Intclligcnce Center, SRI International, Menlo Park, California. [find](https://scholar.google.com/scholar?q=Grosz%2C+Barbara+J%2E%3B+Appclt%2C+Douglas+E%2E%3B+Martin%2C+Paul%3B+Pcreira%2C+Fcrnando+C%2EN%2E%3B+and+Shinkle%2C+Lorna+1+9+8+5+The+TEAM+Natural%2DLanguage+Interface+System%2E+Final+Report%2C+Project+4865%2E+Artificial+Intclligcnce+)
5. Hobbs, Jcrry R. 1983 [An Improper Treatment of Quantification in Ordinary English](https://md.research.elamur.ai/free/en/papers/hobbs-1983-improper-treatment-quantification-ordinary-english/). In Proceedings 9[" the 21st Annual Meeting ¢~/" the Association for Computational Linguistics. Cambridge, Massachusetts: 57-63.
6. Keller, William 1986 Nested Cooper Storage. Paper presented at thc Workshop on Word Order and Parsing in Unification Grammars, Friedcnweiler, West Germany (7- I I April). [find](https://scholar.google.com/scholar?q=Keller%2C+William+1986+Nested+Cooper+Storage%2E+Paper+presented+at+thc+Workshop+on+Word+Order+and+Parsing+in+Unification+Grammars%2C+Friedcnweiler%2C+West+Germany+%287%2D+I+I+April%29%2E)
7. Montaguc, Richard 1973 The Propcr Trcatmcnt of Quantification in Ordinary English. In Thomason, R., Ed., Formal Philosopl¢y. Selected Papers of Richard Montague. Yale University Press, Ncw Haven, Connecticut. [find](https://scholar.google.com/scholar?q=Montaguc%2C+Richard+1973+The+Propcr+Trcatmcnt+of+Quantification+in+Ordinary+English%2E+In+Thomason%2C+R%2E%2C+Ed%2E%2C+Formal+Philosopl%C2%A2y%2E+Selected+Papers+of+Richard+Montague%2E+Yale+University+Press%2C+Ncw+Haven%2C+Conn)
8. Moore, Robert C. 1981 Problems in Logical Fornl. In Proceedings ¢~/" the 19th Annual Meet\#lg of the Association .[br Computational Linguistics. Stanford, California: 117-124. [find](https://scholar.google.com/scholar?q=Moore%2C+Robert+C%2E+1981+Problems+in+Logical+Fornl%2E+In+Proceedings+%C2%A2%7E%2F%22+the+19th+Annual+Meet%5C%23lg+of+the+Association+%2E%5Bbr+Computational+Linguistics%2E+Stanford%2C+California%3A+117%2D124%2E)
9. Pcreira, Fernando C.N. 1983 Logic for Natural Language Analysis. Technical Note 275. Artificial Intelligence Center, SRI International, Menlo Park, California. [find](https://scholar.google.com/scholar?q=Pcreira%2C+Fernando+C%2EN%2E+1983+Logic+for+Natural+Language+Analysis%2E+Technical+Note+275%2E+Artificial+Intelligence+Center%2C+SRI+International%2C+Menlo+Park%2C+California%2E)
10. Woods, William 1 9 7 7 Semantics and Quantification in Natural Language Question Answering. Adwmces in Computers. Vohtme 17. Academic Press, New York: 1-87. [find](https://scholar.google.com/scholar?q=Woods%2C+William+1+9+7+7+Semantics+and+Quantification+in+Natural+Language+Question+Answering%2E+Adwmces+in+Computers%2E+Vohtme+17%2E+Academic+Press%2C+New+York%3A+1%2D87%2E)

*Updated 30 October 2026*
