Checking Documents

Perhaps the most important feature of CLCTreeView is validity checking. Once you open a document or enter text in CLCTreeView, you can check the text against the KCE grammar and vocabulary using functions that we cover in this section. See the following instructions for checking an entire document at once or checking it sentence-by-sentence. See Resolving Sentence Issues for a key to the CLTreeView's text highlighting.

Before you proceed with the instructions below, make sure to check your server configuration in order to verify or select a server for source language analysis. CLTreeView cannot check documents unless it is connected to a running Analyzer server.

Checking an entire document

  1. Select Check>Check Document. A popup window appears, displaying the checking progress.

When checking is finished, the Tree View window expands all of the branches that contain problem sentences.

Checking and Resetting a branch

When you check a branch in the Tree View window, CLTreeView checks all of the sentences beneath it in the XML hierarchy.

  1. Highlight a branch in the Tree View window.

  2. Select Check>Check Branch. If the branch contains problem sentences, their nodes are expanded in the Tree View window.

In order to uncheck a branch, follow these steps.

  1. Highlight a branch that you have already checked in the Tree View window.

  2. Select Check>Reset Branch. Any problem sentences in the branch are now unchecked.

Checking a document issue-by-issue

Use the red arrow buttons in the CLTreeView toolbar to check a document issue-by-issue. In the example below, we assume that you are beginning with an unchecked document, but this is not necessary. Note that the red arrow buttons will sometimes move you to the next problem sentence and sometimes to the next issue within a problem sentence, depending on the situation. In the situation where a problem sentence has more than one issue, the red arrow buttons will move you to the next or previous issue within the sentence, until the last or first issue has been reached. Then the red arrow buttons will take you to the next or previous problem sentence.

  1. Click the red right arrow button in the CLTreeView toolbar. The Tree automatically expands to reveal the next problem sentence, if any, in the document. The sentence that contains the issue is highlighted in Tree View, appears in Text Editor, and is automatically checked.

  2. Click the red right arrow again. The word or string responsible for the issue within the sentence is highlighted in the Text Editor window.

  3. Click the red right arrow again. If the current sentence contains more than one issue, the word or string responsible for the next issue within the sentence is highlighted in the Text Editor window. Otherwise, the next problem sentence in the Tree View is highlighted.
  4. Select the red left arrow in the CLTreeView toolbar. If the current sentence contains more than one issue, the word or string responsible for the previous issue within the sentence is highlighted in the Text Editor window. Otherwise, the previous problem sentence in the Tree View is highlighted.

Note that you may also use the Check>Next Issue or Check>Previous Issue menu commands or their associated keyboard commands to accomplish this.

Checking a single sentence

Since sentences are automatically checked when you check an entire document, when you check a branch, or when you highlight them in the Tree View window, you will typically need to check single sentences only when you are editing them in the Text Editor. See Editing Sentences for more information.

  1. Edit a problem sentence in the Text Editor window.
  2. Place the cursor in the sentence.
  3. Select Check>Check Sentence . The sentence is rechecked. Note that you can also check sentences in the Text Editor by right-clicking on the sentence or by placing the cursor outside of the sentence.

Checking a single word

In order to find out whether a word is part of the lexicon, or to find its KCE meaning, follow these steps:

  1. Select Check>Get Definition. A popup window will appear.

  2. Enter a word in the text field. Note that any text that is highlighted in the Text Editor window will automatically appear in the text field.

  3. Select OK. A popup window containing the definition will appear.

  4. Select Dismiss when you are finished studying the definition.