General Algorithms for Testing the Ambiguity of Finite Automata

Cyril Allauzen, Mehryar Mohri, Ashish Rastogi

Abstract

This paper presents efficient algorithms for testing the finite, polynomial, and exponential ambiguity of finite automata with ε-transitions. It gives an algorithm for testing the exponential ambiguity of an automaton A in time $O(|A|_E^2)$ , and finite or polynomial ambiguity in time $O(|A|_E^3)$ , where |A| E denotes the number of transitions of A. These complexities significantly improve over the previous best complexities given for the same problem. Furthermore, the algorithms presented are simple and based on a general algorithm for the composition or intersection of automata. We also give an algorithm to determine in time $O(|A|_E^3)$ the degree of polynomial ambiguity of a polynomially ambiguous automaton A. Finally, we present an application of our algorithms to an approximate computation of the entropy of a probabilistic automaton.
BibTeX
@inproceedings{allauzen2008general,
  author = {Cyril Allauzen and Mehryar Mohri and Ashish Rastogi},
  title = {{General Algorithms for Testing the Ambiguity of Finite Automata}},
  booktitle = {Developments in Language Theory},
  year = {2008},
  url = {https://openreview.net/forum?id=YojnXvOJDCI},
}
Figure