mlsanityData to 14 Oct 2026

Imagined-Trailing-Whitespace-Agnostic Levenshtein Distance For Plaintext Table Detection

arXiv 2103.06942 ↗First posted 11 Mar 2021cs.DS cs.CL cs.IRcited by 0

Not on the map. Why?

Abstract (arXiv)

The standard algorithm for Levenshtein distance, treats trailing whitespace the same as any other letter or symbol. However, when humans compare 2 strings, we implicitly assume that both strings are padded by infinite trailing whitespace. This informs our expectations for what the costs for insertion, deletion and replacement, should be. This violation of our expectations results in non-intuitive edit distance values. To account for this specific human intuition, a naive approach which considers "all possible" substrings of trailing whitespace would yield an O(n3) algorithm. In this work, we provide an efficient O(n2) algorithm to compute the same. Keywords: Imagined Infinite Trailing Whitespace, Human Friendly, Intuitive Edit Distance, Table Detection, Table Alignment

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 0 of its 10 references that are in the map. First posted on arXiv 11 Mar 2021.

Builds on

0 of 10 references.

No references here yet.

Built on by

Not cited yet.