Skip to Main content Skip to Navigation
Journal articles

Weighted Automata Computation of Edit Distances with Consolidations and Fragmentations

Mathieu Giraud 1, 2, * Florent Jacquemard 3, *
* Corresponding author
2 Algomus
MIS - Modélisation, Information et Systèmes - UR UPJV 4290, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : We study edit distances between strings, based on operations of character substitutions, insertions, deletions and additionally consolidations and fragmentations. The two latter operations transform a sequence of characters into one character and vice-versa. They correspond to the compression and expansion in Dynamic Time-Warping algorithms for speech recognition and are also used for the formal analysis of written music. Such edit distances are not computable in general for arbitrary rulesets. We propose weighted automaton constructions to compute an edit distance taking into account both consolidations and deletions, or both fragmentations and insertions. Assuming that the operation ruleset has a constant size, these constructions are polynomial into the lengths of the involved strings. We finally show that the optimal weight of sequences made of consolidations chained with fragmentations, in that order, is computable for arbitrary rulesets, and not computable if we reverse the order of fragmentations and consolidations.
Complete list of metadata

Cited literature [17 references]  Display  Hide  Download

https://hal.inria.fr/hal-01857267
Contributor : Florent Jacquemard <>
Submitted on : Wednesday, October 16, 2019 - 12:13:09 PM
Last modification on : Monday, April 19, 2021 - 8:55:36 AM
Long-term archiving on: : Friday, January 17, 2020 - 3:55:18 PM

File

ms-automata.pdf
Files produced by the author(s)

Identifiers

Citation

Mathieu Giraud, Florent Jacquemard. Weighted Automata Computation of Edit Distances with Consolidations and Fragmentations. Information and Computation, Elsevier, In press, ⟨10.1016/j.ic.2020.104652⟩. ⟨hal-01857267v4⟩

Share

Metrics

Record views

261

Files downloads

678