1. A system for retrieval of text comprising: a processor comprising: instructions for identifying grammar rules associated with text fragments of a user-selected text string, and instructions for retrieving additional text strings from an associated storage medium which satisfy the grammar rules; a display for displaying retrieved text strings; a user input device in communication with the processor which enables a user to select text fragments of a displayed text string for generating a query, the processor identifying grammar rules associated with the user-selected text fragments and retrieving text strings from the storage medium which satisfy the grammar rules.