Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Sequence Edit Distance

Compute unit-cost Levenshtein distance between two token ID sequences using one dynamic programming row.

Source repository · Package JSON

Use Sequence Edit Distance

use vendor::sequence_edit_distance::sequence_edit_distance;

Run the example

nest demo sequence_edit_distance@0.1.1
blyxc native-run sequence_edit_distance-demo/main.blyx
Example source and expected output
use vendor::sequence_edit_distance::sequence_edit_distance;

fn main() {
    println!(sequence_edit_distance([1,2,3],[2,3,4]));
}

Expected output

2

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files17dd900c0e5a25fa835302eefc44c669181b669f06034ca66a9e41f9a0a5c4b5fffed6d20a
0.1.0Download ZIP · Browse files6349f23784d951e6b0d73d6fefbcc18b180e55ace1fb6c71f48c0a8faf33c099fb7d38718f