content_image/1004914.jpg
The document analysis results appear in the Outline tab in the upper right pane. This tab, as shown in Figure 11-9, lists all annotations that are detected by the chosen UIMA pipeline. 

<img src='content_image/1004914.jpg'>

4. Click any line, and the Properties tab appears in the lower pane listing all the annotation properties. 

## Reviewing the Lexical Analysis output 

The Lexical Analysis stage assigns parts of speech to tokens and also provides further information about each word. These attributes are available as constraints for parsing rules later. 

## Parts-of-speech (nouns, verbs, and so on) 

Lexical Analysis parses sentence structure and tags words according to their grammatical role in the sentence (verb, noun, and so on) and adds this information as an attribute. This information can be useful to you for writing a parsing rule. 

## Sentence, paragraph, and document level annotations 

Lexical Analysis identifies sentences according to a number of configurable parameters. At the most basic level, sentences are delimited by periods. Each of these annotations has associated properties. After running the analysis described above, the Outline tab in the upper-right corner displays each line in an expandable form. The text is analyzed on a few levels. At the surface level, each word and punctuation mark becomes a uima.tt.TokenAnnotation , each sentence becomes a uima.tt.SentenceAnnotation,  and each paragraph becomes a uima.tt.ParagraphAnnotation . 

Figure 11-10 on page 418 shows the different levels of annotations: Token, sentence, paragraph, and document. 

