Skip to content

Text 0.3.2 lcs

github-actions[bot] edited this page Aug 16, 2026 · 1 revision

Lodestar.Text 0.3.2. This page is frozen at that release. Read the current documentation for what main says now. A link to a decision or a migration page follows main, and leaves the archive.

Lcs

Not a score at all: the raw length of the longest run two strings have in common, which is the building block several of the measures above are made of.

The longest run the two have in common, in two senses that answer different questions: SubstringLength requires it to be contiguous, SubsequenceLength only that it keeps its order. The second is what Indel is built on, so a subsequence length and an indel distance are the same measurement seen twice.

Members

Member What it does
Lcs.SubsequenceLength Returns the length of the longest sequence of characters that appears in both inputs in the same
Lcs.SubstringLength Returns the length of the longest contiguous run of characters that appears in both inputs.

Lodestar

Project

Clone this wiki locally