---
title: "A Public Reference Implementation of the RAP — Qiu 2004"
description: "Comparing anaphora resolution systems has been difficult, partly because few reference implementations were openly available."
authors: ["Long Qiu", "Min-Yen Kan", "Tat-Seng Chua"]
year: 2004
venue: "Proceedings of the Fourth International Conference on Language Resources and Evaluation (LREC'04)"
source: "https://aclanthology.org/L04-1506/"
arxiv: "cs/0406031"
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/papers/qiu-2004-public-reference-implementation-rap-anaphora/"
---
[Elamur Research](https://md.research.elamur.ai/) · [this page in HTML](https://research.elamur.ai/free/papers/qiu-2004-public-reference-implementation-rap-anaphora/)

[home](https://md.research.elamur.ai/) / [papers](https://md.research.elamur.ai/free/papers/) / [2004](https://md.research.elamur.ai/free/papers/2004/) / A Public Reference Implementation of the RAP Anaphora Resolution Algorithm

# A Public Reference Implementation of the RAP Anaphora Resolution Algorithm

**Authors:** Long Qiu, [Min-Yen Kan](https://md.research.elamur.ai/free/authors/min-yen-kan/), [Tat-Seng Chua](https://md.research.elamur.ai/free/authors/tat-seng-chua/) · **Year:** 2004 · **Venue:** Proceedings of the Fourth International Conference on Language Resources and Evaluation (LREC'04) · **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/L04-1506/) · [PDF](https://aclanthology.org/L04-1506.pdf) · [arXiv cs/0406031](https://arxiv.org/abs/cs/0406031) · [OpenAlex](https://openalex.org/W2952660149)

**Citations:** 80 citations (openalex-snapshot · 2026-10-14) · [17](#cited-by) in our library, of the 140673 papers whose bibliographies we read

## Summary
Comparing anaphora resolution systems has been difficult, partly because few reference implementations were openly available. The authors address this gap with JavaRAP, a freely distributed Java version of the classic Resolution of Anaphora Procedure (RAP) by Lappin and Leass (1994). The system handles third person pronouns and lexical anaphors (reflexives and reciprocals), and it flags pleonastic "it" by matching a set of surface patterns. The original RAP relied on McCord's Slot Grammar parser. JavaRAP instead takes output from the public Charniak (2000) parser. It reconstructs the grammatical roles and head–argument/adjunct relations that RAP requires using hand-written rules over the parse tree. Candidates are filtered on agreement and syntactic constraints, then ranked by salience weights. The release also includes a sentence splitter and a scoring tool, which together support end-to-end runs and evaluation. On MUC-6 coreference data, JavaRAP reaches 57.9% accuracy, which is close to an earlier proprietary RAP implementation. This makes JavaRAP a practical baseline for future comparative work.

## Key points
- **Input and output:** JavaRAP reads Charniak parser output. It produces anaphor–antecedent pairs, or it can annotate or substitute anaphors directly in the text.
- **Agreement features:** Gender and animacy come from the U.S. Census male/female first-name lists. Values marked unknown are treated as compatible with anything.
- **Pleonastic detection:** Seven RAP patterns (e.g., "it is Modaladj that S") are applied using the original modal adjective and cognitive verb lists.
- **Evaluation:** On the MUC-6 coreference training set, JavaRAP resolved 136 of 235 anaphors correctly (57.9%). For comparison, Preiss (2002) reported 61% for a RAP implementation evaluated on the BNC, also with the Charniak parser.
- **Availability:** The tool is free to download from www.comp.nus.edu.sg/~qiul/NLPTools. It ships with a rule-based sentence splitter and a comparator for MUC-6-style gold annotations.

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

Fields: [Linguistics & languages](https://md.research.elamur.ai/free/shelves/linguistics/)

Topics: [Coreference resolution](https://md.research.elamur.ai/free/topics/coreference-resolution/)

## Cited by

Cited by

17 papers of our library cite it (of the 140673 whose bibliographies we read); 8 of them have a page here, 9 not yet.

- [EM Works for Pronoun Anaphora Resolution](https://md.research.elamur.ai/free/papers/charniak-2009-em-works-pronoun-anaphora-resolution/)
- [The Taming of Reconcile as a Biomedical Coreference Resolver](https://md.research.elamur.ai/free/papers/kim-2011-taming-reconcile-as-biomedical-coreference/)
- [A Pronoun Anaphora Resolution System based on Factorial Hidden Markov Models](https://md.research.elamur.ai/free/papers/li-2011-pronoun-anaphora-resolution-system-based/)
- [Aiding Pronoun Translation with Co-Reference Resolution](https://md.research.elamur.ai/free/papers/nagard-2010-aiding-pronoun-translation-co-reference/)
- [Supervised Noun Phrase Coreference Research: The First Fifteen Years](https://md.research.elamur.ai/free/papers/ng-2010-supervised-noun-phrase-coreference-research/)
- [Resolving Complex Cases of Definite Pronouns: The Winograd Schema Challenge](https://md.research.elamur.ai/free/papers/rahman-2012-resolving-complex-cases-definite-pronouns/)
- [Coreference Resolution with Reconcile](https://md.research.elamur.ai/free/papers/stoyanov-2010-coreference-resolution-reconcile/)
- [BART: A Modular Toolkit for Coreference Resolution](https://md.research.elamur.ai/free/papers/versley-2008-bart-modular-toolkit-coreference-resolution/)

## Cite

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

```bibtex
@inproceedings{qiu2004public,
  title = {{A Public Reference Implementation of the RAP Anaphora Resolution Algorithm}},
  author = {Qiu, Long and Kan, Min-Yen and Chua, Tat-Seng},
  booktitle = {Proceedings of the Fourth International Conference on Language Resources and Evaluation (LREC'04)},
  year = {2004},
  doi = {10.63317/4x8aozctr2rb},
  eprint = {cs/0406031},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.63317/4x8aozctr2rb}
}
```

- [← previous A Mention-Synchronous Coreference Resolution Algorithm Based On the Bell Tree](https://md.research.elamur.ai/free/papers/luo-2004-mention-synchronous-coreference-resolution-algorithm/)
- [next → A Rule Based Approach to Discourse Parsing](https://md.research.elamur.ai/free/papers/polanyi-2004-rule-based-approach-discourse-parsing/)
- [↑ back to papers of 2004](https://md.research.elamur.ai/free/papers/2004/)

## References

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

1. Charniak, E. (2000). A Maximum-Entropy-Inspired Parser. In Proceedings of the First Annual Meeting of the North American Chapter of the Association for Computational Linguistics (NAACL'2000), Seattle, Washington. [find](https://scholar.google.com/scholar?q=Charniak%2C+E%2E+%282000%29%2E+A+Maximum%2DEntropy%2DInspired+Parser%2E+In+Proceedings+of+the+First+Annual+Meeting+of+the+North+American+Chapter+of+the+Association+for+Computational+Linguistics+%28NAACL%272000%29%2C+Seattle%2C) [our card](https://md.research.elamur.ai/free/papers/charniak-2000-maximum-entropy-inspired-parser/)
2. Kennedy, C. and Boguraev, B. (1996). Anaphora for Everyone: Pronominal Anaphora Resolution without a Parser. In Proceedings of the Sixteenth International Conference on Computational Linguistics (COLING-96). Vol. I, pp. 113-118. [find](https://scholar.google.com/scholar?q=Kennedy%2C+C%2E+and+Boguraev%2C+B%2E+%281996%29%2E+Anaphora+for+Everyone%3A+Pronominal+Anaphora+Resolution+without+a+Parser%2E+In+Proceedings+of+the+Sixteenth+International+Conference+on+Computational+Linguistics+%28COLI) [our card](https://md.research.elamur.ai/free/papers/kennedy-1996-anaphora-everyone-pronominal-anaphora-resolution/)
3. Lappin, S. and Leass, H. J. (1994). An Algorithm for Pronominal Anaphora Resolution. Computational Linguistics, 20(4),535-561. [find](https://scholar.google.com/scholar?q=Lappin%2C+S%2E+and+Leass%2C+H%2E+J%2E+%281994%29%2E+An+Algorithm+for+Pronominal+Anaphora+Resolution%2E+Computational+Linguistics%2C+20%284%29%2C535%2D561%2E) [our card](https://md.research.elamur.ai/free/papers/lappin-1994-algorithm-pronominal-anaphora-resolution/)
4. McCord, M. (1990). Slot Grammar: A System for Simpler Construction of Practical Natural Language Grammars. In Natural Language and Logic: International Scientific Symposium. (Ed:Studer, R.), pp. 118-145. Lecture notes in Computer Science, Berlin: Sprlnger-Verlg. [find](https://scholar.google.com/scholar?q=McCord%2C+M%2E+%281990%29%2E+Slot+Grammar%3A+A+System+for+Simpler+Construction+of+Practical+Natural+Language+Grammars%2E+In+Natural+Language+and+Logic%3A+International+Scientific+Symposium%2E+%28Ed%3AStuder%2C+R%2E%29%2C+pp%2E+118%2D1)
5. Mitkov, R. (2000). Towards More Comprehensive Evaluation in Anaphora Resolution. In Proceedings of the Second International Conference on Language Resources and Evaluation, vol.3, pp. 1309-1314, Athens, Greece. [find](https://scholar.google.com/scholar?q=Mitkov%2C+R%2E+%282000%29%2E+Towards+More+Comprehensive+Evaluation+in+Anaphora+Resolution%2E+In+Proceedings+of+the+Second+International+Conference+on+Language+Resources+and+Evaluation%2C+vol%2E3%2C+pp%2E+1309%2D1314%2C+Athen)
6. Preiss, J. (2002). Choosing a Parser for Anaphora Resolution. In Proceedings of the Fourth International Conference on Discourse Anaphora and Anaphor Resolution (DAARC, 2002), pp. 175-180. [find](https://scholar.google.com/scholar?q=Preiss%2C+J%2E+%282002%29%2E+Choosing+a+Parser+for+Anaphora+Resolution%2E+In+Proceedings+of+the+Fourth+International+Conference+on+Discourse+Anaphora+and+Anaphor+Resolution+%28DAARC%2C+2002%29%2C+pp%2E+175%2D180%2E)
7. Vicedo, J. L. and Ferrández, A. (2000). Importance of Pronominal Anaphora resolution in Question Answering systems. In Proceedings of the 38th Annual Meeting of the Association for Computational Linguistics. Hong Kong, China. [find](https://scholar.google.com/scholar?q=Vicedo%2C+J%2E+L%2E+and+Ferr%C3%A1ndez%2C+A%2E+%282000%29%2E+Importance+of+Pronominal+Anaphora+resolution+in+Question+Answering+systems%2E+In+Proceedings+of+the+38th+Annual+Meeting+of+the+Association+for+Computational+Lingu) [our card](https://md.research.elamur.ai/free/papers/vicedo-2000-importance-pronominal-anaphora-resolution-question/)
