Examples of parse trees.

Examples of parse trees.

Source publication
Chapter
Full-text available
This article describes the creation of a rule-based parser for digitizing Kennicott’s collation of the Hebrew Bible (Section 1). We will illustrate how it is possible to exploit the tree-like structure inherent in the critical apparatus of Kennicott’s collation in order to generate xml code automatically via a context- free grammar (Section 2). Fin...

Contexts in source publication

Context 1
... the cfg on the plain text of Figure 1b produces a parse tree, fragments of which are shown in Figure 2. ...
Context 2
... very general terms, it can be said that the visitor traverses the tree's nodes and transforms them into xml tags. As can be seen from the code shown on the left of Listing 2, the tag names are taken from the parser rules, which in the parse trees of Figure 2 are represented as internal nodes ( § 2.3). ...