By drawing an analogy between tokens and phrases in syntactic parsing with mentions and clusters in coreference resolution, we derive an algorithm for the latter.
we can initialise a queue of mentions and maintain a stack of clusters which incrementally grow as we read a document.