next up previous contents
Next: Properties of the Incremental Up: Incremental Interleaving of Parsing Previous: Using Shared Items during

Implementation

The incremental monitoring mechanism has fully been implemented on top of the item sharing approach and tested with several smallish grammars. Although we currently do not make use of preferences-based strategies (see also the final chapter) we have paid attention to be as flexible as possible with respect to this future extension. For example, if the Prolog-like interactive mode is activated also during parsing a user can choose which of the results computed during parsing should be ignored for the ambiguity check. Furthermore, it is possible to stop the parser after a first result accepted as most suitable for the user has been computed. Thus a user can interactively specify which reading she prefers.

Furthermore, it is possible to switch off the monitor interactively by just changing the Boolean value of the global variable MONITOR? which is used to trigger monitoring. Currently, this can be done in combination with the interactive mode. If the flag is switched off further generation is automatically continued without monitoring. Using this mechanism it is possible to simulate some kind of any-time behaviour of the incremental method.



Guenter Neumann
Mon Oct 5 14:01:36 MET DST 1998