next up previous
Next: The Problem Up: A GBML Approach to Previous: A GBML Approach to

Introduction

  The problem domain considered is a subset of the more general problem of construction of the grammar, of any type, that will accept a given set of strings. Though the language is restricted to the acceptance by a DFA it finds a broad application area, especially in NLP.

It is known that a DFA's can be expressed as regular grammars so the outcome of the proposed method will be a regular grammar, in particular a right-linear grammar. A grammar tex2html_wrap_inline722 is said to be right-linear iff each production in P is of the form tex2html_wrap_inline726 or tex2html_wrap_inline728 where A and B are in tex2html_wrap_inline734 and x is in tex2html_wrap_inline738 .

Since the equivalence of NFA and DFA is trivial there will always exist a DFA for any set of strings acceptable by any NFA. So searching for a DFA will not be restrictive in the FA domain.

The state transition function of a DFA can be expressed as a matrix in which the columns are corresponding to the input symbols and the rows are corresponding to the different states. An element of the matrix in row s and column t represents the new state the automaton will be in if it was in the state s and the current input symbol t that was under the input head is consumed.

Here is an example, consider the following DFA:

  figure27
Figure 1:   Example DFA

The matrix that corresponds to the state transition function of this DFA is:

displaymath748

The grammar that will emerge from this DFA is:

displaymath720



Meltem TURHAN
Tue Oct 29 22:25:58 EET 1996