rstWeb - A Browser-based Annotation Interface for Rhetorical Structure Theory and Discourse Relations
Paper · 2016 · Amir Zeldes
Summary
Annotating a text’s discourse structure means deciding how its parts fit together: which passage supports another, which passages belong in a larger unit, and where several units form a coordinated group. Those decisions require both linguistic judgment and repeated manipulation of a diagram. rstWeb addresses the practical environment in which that work happens. It brings annotation based on Rhetorical Structure Theory, usually abbreviated to RST, into a browser, while giving project managers a central place to distribute documents and recover completed analyses. The contribution concerns the organization and interaction of manual linguistic annotation, instead of an automatic procedure for discovering discourse relations.
The paper places this development against a mismatch in the field. RST corpora and automatic parsing had continued to develop, but annotation interfaces remained closely associated with desktop software. The main predecessors were RSTTool and the ISI RST Annotation Tool. According to the authors, neither was under active development, and installation on different operating systems could be troublesome. Browser interfaces had already helped other annotation activities by reducing local setup and centralizing project administration. rstWeb applies that approach to discourse trees. Its server uses Python and SQLite; the browser handles interactive display through JavaScript, with jQuery and jsPlumb supporting the graphical interface. A local configuration uses CherryPy to make the application available through the user’s own browser without an external server.
The most distinctive interaction decision is to make the main tree operations available together. Earlier interfaces required annotators to select an operating mode before linking nodes, removing connections, constructing spans, or creating multinuclear groupings. rstWeb places controls around individual nodes, so the annotator can choose the operation where it is needed. Segmentation remains a separate workspace: reading continuous text proved more comfortable than dividing units while looking at small boxes inside the tree. Users can return to segmentation during structural annotation, and the software specifies how splitting or joining units affects their existing attachments. Each assigned annotator receives a separate document copy. Administrators can therefore collect independent analyses of the same material, enforce a common relation inventory, associate documents with projects, and make project guidelines accessible.
The practical evidence comes principally from the GUM corpus. rstWeb was used for RST annotation of 29 documents drawn from 4 genres. Their mean length was 58.31 elementary discourse units, compared with 56.59 in the RST Discourse Treebank. The authors report a similar level of instructor-corrected errors to the earlier GUM work with RSTTool, together with favorable feedback from students and instructors. Annotation logs also show that changes between kinds of structural action occur frequently, supporting the rationale for removing explicit mode selection. These observations demonstrate that the interface supported real corpus production at a relevant document scale. They do not establish a measured gain in annotation speed. The paper also describes successful imports of existing RST resources and a restricted use for other clause-relation schemes, while identifying missing agreement calculations, relation-inventory editing after import, and schema annotations as unfinished capabilities.
Interesting ideas
Put frequent operations beside the object they affect. rstWeb makes a node the point from which an annotator can remove a connection, introduce a containing span, or create a multinuclear grouping. This reduces the need to remember a separate global editing state before acting. The wider lesson concerns interfaces where people repeatedly alternate between operations on structured objects. Graph editors, review systems, and other annotation environments can benefit when the available action is visible at the location of the decision.
Separate tasks when their reading requirements differ. The attempt to combine segmentation with tree editing was abandoned because units displayed as diagram boxes were awkward to read as continuous language. A dedicated text view suited boundary decisions better. This is a useful corrective to the assumption that fewer workspaces always produce a simpler application. A productive division follows the information a person needs to inspect, while allowing easy movement between related tasks.
Centralize project coordination without merging independent judgments. A shared server gives administrators a common collection point, but each annotator works on a personal document version. That combination supports distributed work and preserves the separate analyses needed for agreement studies. Similar arrangements apply wherever independent review is valuable: central management should make assignments and collection easier without silently replacing individual decisions with a shared evolving answer.
Record the process as well as the finished artifact. The paper uses action logs to examine how frequently annotators change the kind of operation they perform. A completed tree cannot reveal that interaction burden. Process records can therefore answer questions about an interface that output inspection alone cannot settle. The idea transfers to correction workflows, adjudication, and assisted annotation, provided that a recorded action is interpreted as evidence of behavior rather than automatic evidence of correctness.
Reuse one application across hosted and local deployment. rstWeb’s local configuration places its server functionality behind a localhost interface. This allows people without access to a hosted installation to use the same general application, and lets server-side improvements carry into the local version. The reusable principle is to separate where an application runs from how its user interacts with it. Maintaining that separation can reduce divergent behavior between institutional and individual workflows.
Adapt an interface by restricting its operations, but respect its representational limits. Disabling span or multinuclear controls lets rstWeb accommodate some simpler clause-relation tasks. The paper also explains why connective annotation does not fit comfortably into the same diagram. This combination is valuable: configurability can remove inappropriate choices, but it cannot make every annotation scheme compatible with the underlying unit of representation. An adaptable system should make both its permitted operations and its remaining limits clear.
Deep dive: rstWeb - A Browser-based Annotation Interface for Rhetorical Structure Theory and Discourse Relations
How rstWeb brings discourse annotation into the browser, simplifies tree editing, and supports centrally managed corpus projects. · about 35 minutes to read
How Mova uses it
Mova is a small, transparent language system written in Rust. Its language pipeline produces dependency trees, frames, and document worlds, while its corpus workflows keep annotation proposals, review, admission, and assessment separate. The following connections concern ways the paper’s interface and project-management ideas could support those workflows. The status marks describe proposed correspondences with existing mechanisms; they do not establish that rstWeb has been integrated or that its design choices have produced measured benefits in Mova.
Idea: Put editing operations beside the relevant structure. Where: Software architecture, Figure 3. Area: annotation interface. Mova: нове. A proposed review interface could expose permitted changes beside the dependency node, frame role, or discourse connection under inspection. That would apply rstWeb’s object-centered interaction principle without assuming that an RST diagram is the right display for every Mova representation. The available evidence does not establish such an interface in Mova, so this is a design proposal whose implementation status remains uncertain. Why Mova: reviewers could focus on the linguistic decision while the interface presents the valid operations at that location.
Idea: Give segmentation its own readable workspace. Where: Software architecture, Figure 2. Area: segmentation and review. Mova: нове. Mova could separate boundary inspection in continuous text from review of the structures built over those boundaries. The paper supports this distinction through its unsuccessful attempt to perform segmentation comfortably inside the tree display. It does not show that Mova’s current segmentation process needs replacement. A proposed interface should first identify whether its reviewers face the same difficulty. Why Mova: readable text could make boundary corrections easier to inspect before those corrections affect downstream trees, frames, or evidence spans.
Idea: Centralize coordination while preserving independent annotations. Where: Software architecture, document assignment workflow. Area: data administration. Mova: частково є (tools/cycle and tools/treeagree preserve separate annotation sources). Existing Mova workflows retain outputs from different parsers and review stages before agreement or training. rstWeb offers a related organizational idea for human work: assign the same document independently and collect each version centrally. A future review service could preserve that independence rather than presenting later reviewers with a silently merged answer. The correspondence concerns version separation; a browser-based assignment system and its effects in Mova are not established.
Idea: Use process logs to study annotation effort. Where: Annotating in rstWeb, Table 1. Area: evaluation. Mova: частково є (tools/treeagree records rule evidence and rejected edits; training workflows retain experiment journals). Mova already records several kinds of decisions, but those records serve different purposes from an interface action log. A review application could additionally preserve operation types, reversals, and movement between workspaces. This would support questions about the cost of producing a reviewed artifact. Any comparison would need a clear definition of an action and would have to distinguish reviewer effort from the linguistic quality of the final result.
Idea: Share application behavior between hosted and local use. Where: Software architecture and Conclusion. Area: deployment. Mova: нове. A proposed annotation frontend could use the same validation and serialization logic whether accessed through a centrally hosted service or an individual’s local installation. The paper’s CherryPy arrangement illustrates that architectural possibility; it does not prescribe Mova’s implementation technology. No equivalent deployment arrangement is established by the available Mova evidence. Why Mova: shared behavior could reduce differences between personal corpus review and centrally managed projects, making reviewed artifacts easier to compare and reproduce.
Idea: Restrict operations to match the annotation scheme. Where: Using rstWeb for other resources, Figure 4. Area: representation and interface validation. Mova: частково є (docs/hybrid-system.md describes configured capabilities and explicit unsupported outcomes). Mova’s task execution already limits actions to configured capabilities. A linguistic editor could apply the same principle by exposing only operations admitted by the current representation. Dependency editing, frame review, and discourse grouping need not offer identical controls. The transfer remains a proposal for annotation interfaces, and the paper does not show that disabling controls alone guarantees valid analyses.
Idea: Keep representation limits visible when adapting a tool. Where: Using rstWeb for other resources. Area: annotation design. Mova: частково є (docs/hybrid-system.md and source-bound groupant contracts declare inputs and failure behavior). rstWeb can accommodate some binary clause relations but handles connective-sized segments poorly. Mova could use that distinction when deciding whether an existing representation supports a new review task. A compatible label vocabulary is insufficient if the unit boundaries or structural assumptions differ. Existing contracts provide part of this discipline; checking the usability of each proposed representation would still require separate evidence.
Idea: Treat segmentation changes as explicit structural transformations. Where: Software architecture, the split and merge behavior. Area: data integrity. Mova: нове. If a reviewer changes the boundaries of material already linked to a tree or frame, Mova could specify which existing attachment survives and which material becomes unresolved. rstWeb supplies a concrete example of such a policy, instead of leaving the consequences implicit. The available evidence does not establish an equivalent interactive boundary-editing policy for Mova. Why Mova: explicit transformation rules could make it possible to inspect what a boundary correction preserved, discarded, or left for further review.
Idea: Support undo without hiding revision history. Where: Software architecture, client-side undo and redo. Area: provenance. Mova: частково є (tools/dictindex retains versioned label events; tools/cycle preserves annotation versions). Mova already has stores in which later decisions do not erase earlier ones. A proposed annotation frontend could combine convenient reversal of the current edit with a retained history of how that state was reached. rstWeb shows that immediate reversibility and process logging can coexist. The connection does not imply that every Mova store already offers interactive undo, or that an undo event is itself a new admitted annotation.
Idea: Keep the interactive workload close to the user. Where: Software architecture, browser client and static server scripts. Area: application architecture. Mova: нове. A review frontend could handle selection, diagram movement, and tentative edits locally, while invoking backend logic at explicit persistence or validation points. This borrows the division of responsibilities rather than making an untested claim about resource savings. Mova’s exact needs would depend on artifact size and validation cost, neither of which is measured by this paper. Why Mova: responsive tentative editing could make detailed review more practical while leaving durable changes behind explicit checks.
Idea: Enforce a common relation inventory within an assignment. Where: Introduction and Software architecture. Area: annotation consistency. Mova: частково є (compiled seeds and tools/treeagree validation constrain admitted structures). Mova already uses declared concepts and structural gates to limit what enters its representations. An annotation project could additionally bind a review assignment to a particular relation inventory, so independently produced annotations remain interpretable under the same scheme. This would extend an existing concern with formal consistency into project administration. It would not solve disagreements about which relation is appropriate, and the paper’s own inventory cannot be edited after document import.
Idea: Attach guidelines to the project context. Where: Software architecture, project administration. Area: annotation methodology. Mova: нове. A proposed review service could associate each task with the guidance governing that task, instead of relying on a reviewer to locate the right instructions elsewhere. The paper reports project-level guideline links, not evidence that those links improve agreement. A Mova application would need to identify the guidance actually used when interpreting a reviewed result. Why Mova: access to the relevant conventions could help reviewers distinguish a linguistic disagreement from a mismatch between annotation instructions.
Idea: Preserve interchange with established annotation formats. Where: Introduction and Software architecture, document import and export. Area: data processing. Mova: частково є (the language pipeline and tools/treeagree use CoNLL-U). Mova already exchanges structured linguistic data through an established format. rstWeb reinforces the value of retaining compatibility with the surrounding annotation ecosystem instead of making a new interface an isolated store. An RST-related extension could consider importing and exporting an appropriate existing format. Such support is not established in Mova, and a successful conversion would need checks that segmentation, labels, and structure retain their intended meaning.
Idea: Offer a simple entry path for already segmented text. Where: Introduction and Software architecture, plain-text import. Area: corpus preparation. Mova: нове. A proposed discourse-review workflow could accept text whose elementary units have already been separated, then make structural annotation a distinct subsequent activity. This would follow rstWeb’s simple import route without treating line boundaries as linguistically correct merely because they were supplied. The exact Mova interface is unknown. Why Mova: a straightforward input contract could let corpus preparation and discourse analysis proceed separately while keeping the origin of the segmentation available for review.
Idea: Check usefulness at the document scale the task requires. Where: Annotating in rstWeb, comparison of GUM and RSTDT document lengths. Area: evaluation design. Mova: частково є (Mova reports bounded measurements and explicit coverage limits). The paper uses corpus unit counts to establish that rstWeb handled documents resembling an important RST resource in size. Mova could likewise report the size and structure of artifacts used to evaluate a review interface. Its existing emphasis on bounded probes already supports this caution. A successful small example should not silently become a claim about complete books, large graphs, or all corpus documents.
Idea: Examine annotation quality alongside interface convenience. Where: Annotating in rstWeb, instructor corrections and user feedback. Area: evaluation. Mova: частково є (tools/enrich requires comparison on the same questions; training changes pass separate gates). A more convenient editor could still introduce errors or encourage superficial review. Mova could therefore evaluate a proposed frontend with both interaction evidence and independently checked output. The paper reports comparable correction levels but supplies no detailed error distribution. Its contribution is the separation of these questions, not a reusable numerical threshold for deciding whether Mova’s annotation quality has been preserved.
Idea: Compare workflows without confusing different samples. Where: Annotating in rstWeb, RSTDT step logs and GUM action changes. Area: statistics and evaluation. Mova: вже є (README.md and training documentation require held-out comparisons and paired tests where relevant). The paper explicitly recognizes that its interfaces and corpora are difficult to compare directly. Mova’s stated evaluation principles already address this kind of concern. A future interface study should preserve matched tasks where possible and report remaining differences. Existing methodological commitments do not supply a measured result for a new interface, but they provide a suitable standard for testing one.
Idea: Define the denominator of an interaction metric. Where: Annotating in rstWeb, Table 1. Area: statistics. Mova: частково є (tools/dictindex distinguishes occurrence counts, query scope, and measurement conditions). The paper reports changes relative both to annotation steps and to nodes, including nonterminal nodes, while excluding segmentation from the step analysis. A Mova workflow metric should be equally explicit about what it counts. Attempts, accepted edits, persisted changes, and admitted records answer different questions. Existing measurement practices provide a related foundation, but they do not establish a common action-counting convention for future annotation interfaces.
Idea: Keep independent annotation separate from agreement measurement. Where: Software architecture and Conclusion. Area: evaluation infrastructure. Mova: частково є (tools/treeagree implements explicit agreement rules and structural gates). rstWeb makes independently annotated copies available, yet does not calculate inter-annotator agreement itself. Mova could preserve the same distinction between collecting judgments and evaluating their relationship. Its parser agreement procedure is already explicit, but agreement between parser outputs is not interchangeable with agreement between human annotators. Any new measure would need to match the annotation task and its representation rather than inherit authority from the existence of multiple versions.
Idea: Use imported resources to test interoperability. Where: Using rstWeb for other resources. Area: data validation. Mova: частково є (tools/sources verifies source files; corpus workflows validate structured annotations). Importing existing RST resources tests whether an application can handle material produced elsewhere. Mova could use independently produced, properly licensed artifacts to challenge a proposed conversion or review path. The test should inspect the resulting structures, not merely whether a file opens. Current source verification and structural validation cover related concerns, while semantic preservation through a new discourse format would remain a separate question.
Idea: Reuse externally prepared annotation without confusing it with admission. Where: Software architecture, import and administration workflow. Area: corpus governance. Mova: вже є (tools/enrich stages drafts separately from admission; tools/dictindex labels do not admit dictionary entries). rstWeb’s import capability suggests a useful operational separation: obtaining an editable annotation is different from deciding that it is authoritative. Mova already makes this distinction in several data paths. A discourse interface should retain it, so an imported tree, a reviewer’s tentative change, and a version approved for training remain different artifacts with different evidence.
Idea: Distinguish structural grouping from event interpretation. Where: Software architecture, span and multinuclear controls. Area: discourse and pragmatics. Mova: частково є (prag frames retain cause and sequence links; stance handling distinguishes commitments and goals from established events). A proposed discourse layer could group related passages without automatically treating every subordinate clause as an event that happened. The paper concerns discourse editing and does not establish this semantic rule for Mova. Existing frame distinctions offer a relevant boundary: adding a discourse connection should not erase the separate evidence needed to update the document world.
Idea: Keep project administration distinct from linguistic editing. Where: Software architecture, separate administration and annotation scripts. Area: workflow design. Mova: частково є (worker configuration is separate from the public language core in docs/hybrid-system.md). Mova already distinguishes configured operational responsibilities from native linguistic interpretation. A review application could similarly separate assignment, scheme selection, and document management from the annotator’s structural decisions. This would help make clear whether a change concerns the task definition or the analysis itself. The paper demonstrates that separation operationally, but does not quantify its effect on reviewer accuracy or administrative effort.
The problem and its context
A growing research activity with an aging working environment
RST supplies a framework for describing relationships within a discourse. In the setting of this paper, an annotator works with elementary discourse units, or EDUs, and organizes them into a larger analysis. Some operations connect an individual unit to another part of the analysis. Others create a span containing material already present, or establish a multinuclear grouping. The resulting structure is something a reader can inspect as a diagram, but creating it requires many local decisions about both segmentation and relationships.
The paper presents RST as an established and continuing research activity. It traces the framework to Mann and Thompson and points to corpus construction and automatic parsing as evidence of its ongoing use. The RST Discourse Treebank is the central corpus reference in this account. The earlier work represented by Building a Discourse-Tagged Corpus matters because manual analyses provide a substantial resource around which other discourse research can develop.
Automatic analysis had also progressed. The paper cites Combining Intra- and Multi-Sentential Rhetorical Parsing and Two Practical Rhetorical Structure Theory Parsers as examples. It does not compare rstWeb against those parsers, because they address a different task. Their role in the argument is contextual: the field continued to develop methods for analyzing discourse, while the software used to produce manual annotations had received less comparable renewal.
The main desktop reference is RSTTool, which the paper describes as a Tcl/Tk application. The ISI tool extended that line of software. These predecessors supplied the structural editing capabilities that rstWeb needed to retain. The criticism is therefore not that they were incapable of representing RST analyses. Rather, their maintenance status, installation demands, and local deployment made them less convenient foundations for a distributed annotation project.
Annotation involves more than drawing trees
A project manager must do more than make an editor available. Documents need to reach the appropriate annotators. Everyone must know which relation scheme applies. Completed analyses need to be collected, and independently produced versions must remain identifiable. Progress and process information may also be useful. When the working arrangement relies on local applications, some of this coordination takes place through exchanging files and managing installations.
The paper treats these activities as part of the annotation problem. Its browser approach is intended to reduce the work surrounding linguistic decisions, not merely to reproduce a desktop diagram in another window. Central storage gives administrators a common point of access. Assignments determine which documents a user can open. Project information connects documents with their guidelines. Separate user copies permit parallel annotation without requiring annotators to manage the version separation themselves.
Earlier browser-based annotation systems provided the precedent. The paper mentions Arborator for dependency syntax and WebAnno for multiple annotation tasks. What rstWeb borrows from that context is the general arrangement: people use a browser, while the project maintains its data centrally. The paper does not claim to introduce browser-based annotation as a general concept. Its contribution is to apply that arrangement to the particular editing needs of RST.
The interface can shape the order of thought
A second problem concerns the sequence of small actions within annotation. In the earlier workflow described by the authors, selecting a mode determined what a click would do. A person who had just linked a unit might need another mode before removing an edge, and another before creating a grouping. The interface therefore imposed a preparatory action whenever the annotator changed operation type.
The paper identifies two possible responses. An annotator can batch similar operations, which requires planning the work around the interface, or switch modes whenever the next linguistic decision calls for it. Neither response changes what the final tree is supposed to mean. Both affect the path taken to produce it. This observation connects interface design with annotation methodology: software can encourage a particular order of work even when the annotation scheme does not require that order.
rstWeb’s central interaction proposal follows directly from this diagnosis. If several operations remain available at each node, the annotator can follow the developing analysis more freely. The paper’s logs then ask whether changes in operation type are frequent enough for this design choice to matter. The argument is practical and specific, instead of a claim that one interaction style is universally preferable.
The method, step by step
The application’s responsibilities
rstWeb divides responsibility between a server that retrieves and stores project data and a browser that presents the editing environment. Python scripts communicate with SQLite and produce the material delivered to the client. JavaScript supports interaction with the annotation display. jQuery and jsPlumb help render connections and visual transitions.
For the hosted arrangement, the authors choose request-driven scripts rather than continuously active application services. A web server exposes the scripts, and a browser request causes the relevant script to access the database and prepare the client-facing output. The paper names Apache as an example of the surrounding web-server infrastructure. Its claim about very low server demand is tied to this architecture: application processing is invoked when information is requested or submitted.
The local arrangement retains the browser as the user interface. CherryPy supplies the container through which the same server functionality becomes available on localhost. A local user must therefore install Python and CherryPy. This is an important distinction from a centrally hosted project, where the annotator needs only browser access to the service. The local option reduces dependence on an external server; it does not remove every installation requirement.
From project assignment to exported discourse annotation
The steps in order.
The workflow is an annotation procedure, not a training algorithm. The paper contains no mathematical equations or parameter-estimation procedure. Its technical precision lies in the division of application responsibilities, the supported editing operations, and the consequences of changes to an existing analysis.
Establishing a project and opening a document
Administrators can import an existing annotation in the RSTTool-compatible .rs3 format. They can also begin with plain text whose lines already correspond to discourse units. These routes serve different starting conditions. One brings a prior structural analysis into the environment; the other provides units from which an annotator can construct an analysis.
Documents can be organized into projects. A project may expose a guideline address, allowing users to consult the relevant annotation instructions. The system also supports common annotation schemes across users. These administrative functions matter because the meaning of a relation label depends on the conventions under which the work is performed.
After login, an annotator can access assigned documents. Assignment does not place everyone into a single editable tree. Each user receives a personal version of the assigned material. Multiple people can therefore analyze the same document independently. The paper explicitly connects this arrangement with inter-annotator agreement experiments, while also making clear that the application does not itself calculate the agreement measures.
The application exposes separate entry points for opening work, administering projects, segmenting text, and constructing structure. These are different responsibilities, but they remain parts of the same environment. A project manager does not need to distribute a new desktop file for every assignment, and an annotator does not need to leave the browser to move between boundary work and tree work.
Reading and changing discourse boundaries
An EDU is the basic text unit over which the structural annotation is built. Before connecting units, the annotator must be able to inspect their boundaries. rstWeb provides a continuous-text workspace for that purpose.
This separation emerged from a design attempt that did not work well. The authors initially tried to make segmentation available within the tree diagram. In that display, however, the text was distributed across small unit boxes. Following those boxes across the diagram made ordinary reading awkward. A larger running-text view better matched the task of deciding where one discourse unit ends and another begins.
The authors therefore retained a dedicated segmentation workspace even while removing most other mode distinctions. This is a qualified design decision. They did not treat a single workspace as a goal that should override the demands of reading. Instead, they preserved the distinction that seemed useful and removed the distinctions that mainly selected editing operations.
Users can revisit boundaries after structural annotation has begun. This creates a data-integrity problem: a unit being split or merged may already have an attachment and a relation label. The software needs a predictable rule for what happens next, because boundary editing changes the objects to which structural decisions refer.
When a unit is divided, the earlier portion keeps the original structural role. The newly created later portion starts unattached. That policy preserves an existing decision for part of the original material without automatically inventing a structural relation for the rest. The unattached portion makes the unresolved work visible.
When units are joined, the combined unit inherits the attachment and label associated with the earlier unit. This is a defined editing convention, not a claim that the earlier analysis is always linguistically appropriate after merging. The reviewer may still need to inspect the result. The value of the rule is that the software’s immediate behavior is specified rather than accidental.
Constructing the tree
The structuring workspace contains the main RST diagram. It supports the kinds of trees available in the earlier tools, including structures with crossing connections. Preserving this capacity matters because a new interface would be a poor replacement if it simplified interaction by silently narrowing the analyses that annotators could represent.
The distinguishing controls appear around each node junction. The X control removes a connection. The T control introduces a span. The Λ control creates a multinuclear node. Connecting nodes is also available without selecting a separate global operation mode. Together, these controls allow an annotator to alternate among common structural actions while remaining in the same workspace.
A span is a grouping within the discourse structure. A multinuclear grouping represents another supported structural organization, distinguished in the interface from an ordinary span. The paper’s interest is in making these operations directly available, rather than supplying a new theory of their linguistic interpretation. Relation selection still belongs to the annotation task and its scheme.
The interaction change is easiest to understand as the removal of an intermediate instruction to the software. An annotator already knows the local goal: remove this connection or add a grouping above this node. A mode-based interface first requires the person to tell the application which general kind of action is intended. rstWeb lets the local control communicate that information.
This does not mean that every interaction requires fewer actions under every circumstance. The paper does not measure all possible editing sequences. Its argument is that annotators frequently alternate among operation types, so repeatedly making an explicit mode choice is a plausible source of avoidable effort.
Revising, recording, and exchanging the result
Undo and redo take place in the browser without requiring a submission for each reversal. The paper also states that those actions remain part of the process log. The visible current state and the recorded history therefore have different roles: one supports continued annotation, while the other preserves evidence about the route taken.
This is relevant both to ordinary correction and to later interface analysis. An annotator can reverse an action conveniently, but the record can still show that the action was attempted. The paper’s log analysis includes undo activity, so its definition of the annotation process extends beyond the edits that survive in the final tree.
The completed annotation can be exported in .rs3 format. Compatibility with the established format makes rstWeb an addition to an existing workflow rather than a entirely separate annotation ecosystem. The paper also notes that this format can be consumed by corpus-query software that supports RST, naming ANNIS as an example.
The import and export claims concern operational interoperability. They do not amount to a formal demonstration that every possible annotation in every source resource will survive every conversion unchanged. The successful resource imports reported later provide practical evidence, while the broader boundary remains the structures and conventions the application supports.
Adapting the available operations
The authors also consider tasks outside full RST annotation. Some schemes require relations between clauses but do not require the complete range of hierarchical groupings. rstWeb can disable controls that create spans or multinuclear nodes. This makes the available interface more closely match the permitted structure.
Figure 4 illustrates a configuration using the relation labels Expansion.Conjunction and Expansion.Restatement from the Penn Discourse TreeBank. Multinuclear controls are unavailable in that illustration, while hierarchical organization remains possible. The figure demonstrates a restricted relation-annotation use, rather than complete support for all aspects of that resource’s annotation practice.
The boundary becomes clear when the task involves marking an explicit connective such as “because.” rstWeb expects the annotated objects to be segmented units in its diagram. Making a connective its own tiny displayed segment would be inconvenient, and gaps within clauses raise a related mismatch. Operation restrictions can adapt the editor’s behavior, but they do not change its basic representational assumptions.
Experiments and results
Production use in GUM
The strongest practical test is that rstWeb was used to produce annotations for the GUM corpus. The paper describes GUM as an openly available corpus with multiple annotation layers, developed through classroom work and expanded over successive collection rounds. Its discourse annotation therefore belongs to a broader corpus-building activity rather than an isolated interface demonstration.
In the collection round discussed, rstWeb was used for 29 documents. The material covered 4 genres: travel guidance, procedural guides, online reporting, and interviews. This range matters because the interface was used on different kinds of prose and interaction, rather than being demonstrated only on a single short example.
The mean GUM document contained 58.31 EDUs. The corresponding mean reported for the RST Discourse Treebank was 56.59 EDUs. The authors use this comparison to argue that rstWeb can handle documents at a scale relevant to the established RST benchmark resource.
That is a scale comparison, not an accuracy comparison. A similar number of discourse units does not show that the genres pose the same interpretive problems or that the resulting trees have the same complexity. It does show that the production use was not confined to unusually small documents. The paper’s conclusion about practical document size is supported at that level.
Earlier GUM collection had used RSTTool with the same broad text types. The authors report that instructor corrections indicated a very similar amount of error after the switch to rstWeb. They refer to the separate GUM account for this observation. No numerical correction rate, error taxonomy, or uncertainty estimate appears in the rstWeb paper.
The usability feedback is also favorable. Students who had experience with the earlier tool responded positively after moving to rstWeb, and instructors shared that response. The paper includes a trained teaching assistant among those instructors. These reports support the claim that the interface was acceptable and useful to its actual users, but they are not presented as a scored questionnaire or a controlled preference experiment.
Why the action logs matter
The main quantitative interface analysis uses records from 10 randomly selected Wall Street Journal documents in the RST Discourse Treebank. The purpose is to estimate how often an annotator’s work moves between kinds of structural operation.
The analysis includes undo actions and omits segmentation operations. Its node counts include nonterminal structure, rather than only the elementary text units. These details define what the resulting rates mean. They describe activity in the structural editor, not every operation needed to annotate a document from raw text.
The table reports mode changes relative to annotation steps and relative to nodes. Its mean change-per-step value is 0.4809, while its mean change-per-node value is 0.3916. These are measures of interaction pattern. They are not percentages of incorrect annotations, and they do not measure the amount of time spent deciding on a discourse relation.
For GUM, rstWeb logs show a mean action-type-change rate of 0.43 per step. Because rstWeb removes the explicit mode selection for the main structural operations, a change in action type does not require the same preparatory interface operation. The comparison therefore helps explain why direct access to operations could be valuable.
Structural action changes in RSTDT and GUM annotation logs
Operation changes are frequent in both workflows, supporting direct access to editing actions.
The numbers
| System or setting | changes per annotation step |
|---|---|
| RSTDT mean, required mode changes | 0.4809 |
| rstWeb GUM mean, action-type changes (this paper) | 0.43 |
The lower direction in the chart concerns interaction overhead, not annotation quality. More fundamentally, the rows summarize different corpora and different logging situations. The authors explicitly caution that direct comparison is difficult. The chart should therefore be read as evidence that operation changes are common in both settings, not as a measured improvement attributable to rstWeb.
Variation across documents
The document-level entries reveal that the action pattern is not constant. For instance, the change-per-step value is 0.72 for wsj_0667, whereas wsj_2373 has 0.3076. These entries illustrate variation within the historical logs. They do not explain whether that variation comes from document structure, an annotator’s working style, or some other factor.
The separate node-normalized measure reinforces the need to state a denominator. For wsj_0602, the reported change-per-node value is 0.5781. For wsj_2373, it is 0.2068. A rate relative to nodes characterizes annotation activity differently from a rate relative to actions, because the completed structure and the path taken to create it are different objects.
The paper does not analyze the causes of those document differences. Its main use of the table is simpler: frequent changes make repeated global mode selection a meaningful design concern. The proposed benefit is fewer clicks devoted to selecting an operation, while preserving the ability to perform the operation itself.
No completion-time comparison is reported. There is also no measured count of clicks saved during a matched rstWeb and RSTTool task. The paper’s statement that the interface should remove considerable clicking follows from the interaction design and the observed action patterns. It remains distinct from a directly observed productivity effect.
Import and representation tests
The authors successfully imported material from the RST Discourse Treebank after conversion into .rs3. They also imported the German Potsdam Commentary Corpus. These examples demonstrate that rstWeb was able to accept annotations originating outside the immediate GUM workflow.
The German resource adds evidence that the editor was not restricted to the language of the classroom corpus. However, the paper does not present a multilingual usability study or a detailed inventory of language-specific display conditions. The supported claim is successful import of that resource.
The restricted binary-relation example supplies another kind of test. It shows that the interface can be configured to remove operations that a task does not need. The demonstration is useful, but it is not an evaluation of complete Penn Discourse Treebank annotation. The authors themselves distinguish the supported clause-relation use from the unsuitable connective and gap annotation cases.
Taken together, these results establish practical deployment, relevant document size, favorable experience, and several interoperability possibilities. They provide less evidence about causal gains in speed, the reliability of particular annotation decisions, or scalability under heavy simultaneous use.
What the ablations show
The paper reports no ablation study; its evidence instead combines workflow logs, production annotation, user reports, import trials, and a restricted configuration for another relation scheme.
The closest comparison concerns the GUM workflow before and after adopting rstWeb. The corpus had previously used RSTTool, and the authors report similar error levels alongside positive reactions to the new interface. This is useful evidence that the change did not obviously disrupt classroom annotation. It does not isolate the effect of node-local controls from the effects of browser access, centralized administration, or other differences between the tools.
A true component-level comparison would require holding the surrounding task constant while changing a specific feature. The paper does not report such a setup. It therefore cannot tell us how much of the favorable experience came from eliminating mode selection, how much came from avoiding installation, or how much came from collecting work centrally.
The log analysis addresses a narrower question more directly. It asks whether structural action types change often enough to make explicit mode changes burdensome. The historical RSTDT records indicate that this is a recurring part of annotation rather than an occasional exceptional action. GUM’s action-type changes suggest that annotators continue to alternate among operations when working in rstWeb.
That finding supports the interface rationale without proving a completion-time gain. A mode change might take little time compared with interpreting a difficult passage. Conversely, repeated small interruptions might matter to the annotator’s working rhythm. The paper does not measure those possibilities separately. Its quantitative evidence concerns frequency, and the interpretation should stay attached to that metric.
The segmentation design offers a different form of analysis. The authors tried placing boundary editing inside the tree and found that the display made reading cumbersome. They then retained a separate continuous-text workspace. This is an informative design history because it identifies a limit to their own preference for consolidating operations. It is not a controlled experiment, and no reading-time or segmentation-accuracy result is attached to it.
The configurable relation example similarly probes representational scope rather than performance. Removing multinuclear controls demonstrates that the editor can constrain the operations offered to an annotator. Retaining hierarchy in the illustrated configuration shows that restrictions can be selective. The example does not establish whether annotators prefer that configuration, whether it improves agreement, or whether every intended binary relation can be represented conveniently.
Finally, successful resource imports test compatibility at a practical level. They show that the application is useful beyond a newly created document inside its own project. They do not separately test each structural feature, conversion decision, or source convention. The analyses are therefore complementary: each addresses a different part of the tool’s usefulness, while none supplies a complete controlled account of why the entire package works.
Limitations
Capabilities the authors explicitly leave unfinished
The paper identifies several missing features directly. The relation inventory cannot be changed after a document has been imported. An administrator must therefore establish that inventory at the relevant stage rather than expect to revise it freely during annotation.
This restriction is significant for projects whose conventions evolve. A relation scheme is not merely a display preference; it determines which distinctions an annotator can express. The paper does not describe a migration procedure for documents created under an earlier inventory. Its future-work discussion acknowledges the need for more flexibility without claiming to have implemented it.
Schema annotations are another explicit omission. The authors describe these as additional markings on spans, with a title annotation as an example. Earlier tools supported such markings, whereas rstWeb did not yet implement them. The paper presents support as planned, so it should not be treated as part of the demonstrated system.
Agreement measurement is also absent. Separate user copies enable independent annotation, but rstWeb does not automatically calculate how closely those copies agree. The project can collect the necessary analyses without completing the evaluation itself. This is an important distinction between infrastructure that supports an agreement study and software that implements its measurement.
The authors also state a representational limit for tasks outside RST. Explicit connectives and gaps within clauses do not fit comfortably into the editor’s segment-centered display. A connective can technically be separated into a very small segment, but that does not make it a practical object in the diagram. The restriction follows from how the interface presents its annotation units.
The limits of the usability evidence
A careful reading must distinguish practical success from controlled improvement. The GUM deployment shows that people completed real annotation work with rstWeb. Favorable reports show that users valued the change. Neither observation alone establishes how much faster they worked or which feature caused the preference.
The comparison with earlier GUM annotation is also limited by the information reported. The authors state that instructor-corrected errors were similar, but do not provide the correction counts or a statistical analysis in this paper. A reader therefore cannot assess the size of a possible quality difference or determine whether particular error categories changed.
The action logs strengthen the case for avoiding repeated mode selection, but they do not directly measure saved clicks in a matched task. Historical RSTDT records and current GUM records differ in their source material and interface context. The paper acknowledges the difficulty of comparing them. A causal statement about productivity would go beyond that evidence.
Nor does the paper report annotation duration, learning time, or a standardized usability score. These omissions do not invalidate a demonstration paper. They define its evidential level: an implemented tool with production experience and a quantitative account of a relevant interaction pattern.
The classroom setting supplies useful evidence from actual users, including people moving from the earlier tool. At the same time, it does not establish how every population would respond. The paper offers no separate analysis of experienced professional annotators, occasional contributors, or users with different accessibility requirements. Those possibilities remain outside the demonstrated scope.
The limits of the architectural claims
The authors characterize the server-side application as extremely light because it does not run continuously between requests. That is an architectural argument. The paper does not include a server-load benchmark, a concurrent-user stress test, or response-time measurements.
Request-driven execution can explain why idle application processing is low. It cannot by itself establish performance under every workload. Database activity, document size, browser rendering, and the pattern of simultaneous requests could all matter in a deployment, but the paper does not measure their effects. The defensible claim is the described execution strategy and its intended resource economy.
Similarly, cross-platform availability is a reported property of the application, not the outcome of an extensive compatibility matrix. The authors name Mac, Linux, and Windows. They do not compare behavior across browser versions or provide separate platform-specific results.
The local configuration also has a narrower convenience claim than the hosted one. Hosted annotators can work through a browser without installing the annotation application locally. Individual offline users need the local Python and CherryPy environment. The benefit is reuse of the application through localhost, rather than an installation-free offline package.
What centralized storage does not establish
A central project database solves some coordination problems, but the paper does not present a general data-governance framework. It discusses assignment, personal copies, schemes, guidelines, and logging. It does not provide an evaluation of backup procedures, recovery from failures, or access-control strength.
Similarly, independent copies preserve separate judgments, but they do not guarantee that those judgments are uninfluenced. The paper does not study how annotators consult one another or how instructions affect their decisions. Its contribution is the software arrangement that permits independent work.
Action history also has a limited interpretation. A recorded reversal shows that an operation was undone. It does not necessarily explain why the annotator changed direction or whether the final decision is correct. Logs become evidence through an appropriate analysis; collecting them does not automatically answer every methodological question.
Interoperability has a defined scope
Successful import from established corpora is meaningful practical evidence. It does not prove universal preservation across every structure that might appear in another resource. The paper does not offer an exhaustive conversion audit or a formal equivalence analysis.
The same caution applies to configurable support for other discourse frameworks. Relation labels can be changed, and controls can be disabled, but the application still organizes segmented units through its diagram. A framework that requires a different treatment of overlapping text, internal gaps, or connective anchoring cannot be assumed to fit because some binary relations can be displayed.
These limits sharpen the contribution rather than diminish it. rstWeb demonstrates a workable browser environment for a specific class of discourse annotation, together with useful extensions and clear omissions. It does not claim to replace every annotation interface or settle the evaluation methodology for discourse corpora.
What came after
The later citation trail includes Using and comparing RST parsers with rst-workbench, dated 2021. Its stated focus is the use and comparison of RST parsers. That places it in a neighboring part of the discourse-analysis workflow: examining automatic analyses rather than primarily producing manual annotations through rstWeb’s editing interface.
The confirmed connection is that this later work cites rstWeb. That establishes a scholarly relationship, but does not by itself establish that rst-workbench reuses its code, adopts its node controls, or depends on its backend. Those implementation details and any resulting performance effects are unknown here. The useful continuity is the importance of making discourse structures accessible for practical work, whether the task is creating an annotation or comparing parser output.
The citation trail also includes GCDT, dated 2022, whose title identifies a Chinese RST treebank concerned with multiple genres and multilingual discourse parsing. This represents the continuing corpus-building direction that rstWeb was designed to support: producing structured discourse resources that can serve later research.
Again, the citation does not establish a specific deployment of rstWeb. The available account does not say which annotation interface GCDT used, whether its workflow incorporated rstWeb’s interaction choices, or what effect those choices had. It would therefore be inappropriate to assign later corpus results to the earlier interface.
These later works show the paper’s connection to ongoing RST corpus construction and parser-oriented tooling. They do not retrospectively supply the controlled usability evidence missing from the original study. rstWeb’s own documented contribution remains concrete: it moved an established manual discourse workflow into a centrally managed browser environment, retained compatibility with existing annotations, and made frequent structural operations directly available where annotators needed them.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksPhilosophy · 291 works
Topics 1Research subjects and languages the work is about.Discourse analysis · 471 works
Cite
Cite as Amir Zeldes. 2016. rstWeb - A Browser-based Annotation Interface for Rhetorical Structure Theory and Discourse Relations. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Demonstrations.
@inproceedings{zeldes2016rstweb,
title = {{rstWeb - A Browser-based Annotation Interface for Rhetorical Structure Theory and Discourse Relations}},
author = {Amir Zeldes},
booktitle = {Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Demonstrations},
year = {2016},
doi = {10.18653/v1/n16-3001},
url = {https://doi.org/10.18653/v1/n16-3001}
}References
- Lynn Carlson, Daniel Marcu and Mary Ellen Okurowski. 2003. Building a Discourse-Tagged Corpus in the Framework of Rhetorical Structure Theory. In Current and New Directions in Discourse and Dialogue. (Text, Speech and Language Technology 22.) Kluwer, Dordrecht, 85–112.
- Kim Gerdes. 2013. Collaborative Dependency Annotation. In Proceedings of the Second International Conference on Dependency Linguistics (DepLing 2013). Prague, 88–97. OpenAlex ↗ · Scholar ↗
- Shafiq Joty, Giuseppe Carenini, Raymond Ng, and Yashar Mehdad. 2013. Combining Intra- and Multi-Sentential Rhetorical Parsing for Document-Level Discourse Analysis. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics. Sofia, Bulgaria, 486–496.
- Thomas Krause and Amir Zeldes. 2016. ANNIS3: A New Architecture for Generic Corpus Query and Visualization. Digital Scholarship in the Humanities 31(1):118–139. OpenAlex ↗ · Scholar ↗
- William C. Mann and Sandra A. Thompson. 1988. Rhetorical Structure Theory: Toward a Functional Theory of Text Organization. Text 8(3):243–281. DOI ↗
- Daniel Marcu, Estibaliz Amorrortu, and Magdalena Romera. 1999. Experiments in Constructing a Corpus of Discourse Trees. In Proceedings of the ACL Workshop Towards Standards and Tools for Discourse Tagging. College Park, MD, 48–57. OpenAlex ↗ · Scholar ↗
- Michael O’Donnell. 2000. RSTTool 2.4 - A Markup Tool for Rhetorical Structure Theory. In Proceedings of the International Natural Language Generation Conference (INLG 2000). Mitzpe Ramon, Israel, 253–256.
- Rashmi Prasad, Nikhil Dinesh, Alan Lee, Eleni Miltsakaki, Livio Robaldo, Aravind Joshi, and Bonnie Webber. 2008. The Penn Discourse Treebank 2.0. In Proceedings of the 6th International Conference on Language Resources and Evaluation (LREC 2008). Marrakech, Morocco.
- Manfred Stede and Arne Neumann. 2014. Potsdam Commentary Corpus 2.0: Annotation for Discourse Research. In Proceedings of the Language Resources and Evaluation Conference (LREC 2014). Reykjavik, Iceland, 925–929. OpenAlex ↗ · Scholar ↗
- Mihai Surdeanu, Thomas Hicks, and Marco A. Valenzuela-Escarcega. 2015. Two Practical Rhetorical Structure Theory Parsers. In Proceedings of NAACL-HLT 2015. Denver, CO, 1–5.
- Seid Muhie Yimam, Iryna Gurevych, Richard Eckart de Castilho, and Chris Biemann. 2013. WebAnno: A Flexible, Web-based and Visually Supported System for Distributed Annotations. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics. Sofia, Bulgaria, 1–6.
- Amir Zeldes. 2016. The GUM Corpus: Creating Multilayer Resources in the Classroom. Language Resources and Evaluation. Available online at http://dx.doi.org/10.1007/s10579-016-9343-x. DOI ↗ · OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/zeldes-2016-rstweb-browser-based-annotation-interface/