Abstract: This paper addresses the problem of determining the distance between two regular languages. It will show how to expand Jaccard distance, which works on finite sets, to potentially-infinite regular languages. The entropy of a regular language plays a large role in the extension. Much of the paper is spent investigating the entropy of a regular language. This includes addressing issues that have required previous authors to rely on the upper limit of Shannon's traditional formulation of entropy, because its limit does not always exist. The paper also includes proposing a new limit based formulation for the entropy of a regular language and proves that formulation to both exist and be equivalent to Shannon's original formulation (when it exists). Additionally, the proposed formulation is shown to equal an analogous but formally quite different notion of topological entropy from Symbolic Dynamics -- consequently also showing Shannon's original formulation to be equivalent to topological entropy. Surprisingly, the natural Jaccard-like entropy distance is trivial in most cases. Instead, the {it entropy sum} distance metric is suggested, and shown to be granular in certain situations.
Recommendations
Cites work
- scientific article; zbMATH DE number 3140804 (Why is no real title available?)
- scientific article; zbMATH DE number 3140805 (Why is no real title available?)
- scientific article; zbMATH DE number 3664335 (Why is no real title available?)
- scientific article; zbMATH DE number 14854 (Why is no real title available?)
- scientific article; zbMATH DE number 3588051 (Why is no real title available?)
- scientific article; zbMATH DE number 1849966 (Why is no real title available?)
- scientific article; zbMATH DE number 3254895 (Why is no real title available?)
- A Mathematical Theory of Communication
- A Similarity Measure for Cyclic Unary Regular Languages
- An Introduction to Symbolic Dynamics and Coding
- Computation of distances for regular and context-free probabilistic languages
- Conditional densities of regular languages
- Efficient Computation of the Relative Entropy of Probabilistic Automata
- Expansions of Sums of Matrix Powers
- Information rate of some classes of non-regular languages: an automata-theoretic approach (extended abstract)
- LATIN 2004: Theoretical Informatics
- On Li-Yorke pairs
- On the Computation of Some Standard Distances Between Probabilistic Automata
- On the computability of the topological entropy of subshifts
- On the entropy of context-free languages
- Regular language distance and entropy
- Similarity in languages and programs
- The QR Transformation A Unitary Analogue to the LR Transformation--Part 1
- Topological entropy of formal languages
Cited in
(4)
This page was built for publication: Regular language distance and entropy
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5111217)