Skip to content
Sean Trott edited this page Jun 10, 2016 · 8 revisions

contact: seantrott@icsi.berkeley.edu


The ECG Analyzer takes an input utterance and outputs a structured semantic analysis called a Semantic Specification (SemSpec). The ECG Workbench allows the user to enter a sentence or sentence fragment, parse the sentence, and view a graphical display of a SemSpec; the user can highlight boxes representing co-indexed semantic and constructional elements and view the tree structure of the sentence.

Opening the Analyzer View

By default, the Analyzer window should already be open at the top of the ECG Workbench display. The view looks like this:

(Analyzer view).

If it's not open, you can open the View by going to Window --> Open View --> Analyzer.

(Display for opening view)

Parsing a sentence

To parse a sentence, simply enter text in the text box (above, the sentence "John saw the box" is entered). Alternatively, you can select a sentence from the set of "example sentences", which are those found in the preferences file.

(Example sentences)

Then, press the white arrow in the green circle (the "playback" arrow). This instructs the ECG Analyzer to produce a SemSpec of the sentence.

Viewing the final SemSpec

The ECG Workbench will automatically produce a visualization of the SemSpec. By default, this will take you to a text-based description of the SemSpec:

(Text SemSpec for "John saw the box")

However, you can open up the graphical visualization by clicking on the other tabs at the bottom. Each tab displays a different interpretation or "parse" of the utterance. An excerpt of the graphical visualization is below:

(Sample SemSpec for "John saw the box")

The red highlighted boxes demonstrate co-indexed elements. To see all the co-indexed elements of a slot, click the box next to it, and they will appear in red.