From 27dad0d566822a7cf528e8a13ce5cbbfdc0348c3 Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Thu, 26 Jan 2023 13:36:58 +0100 Subject: [PATCH] implement opcodes in terms of editops --- src/rapidfuzz/distance/LCSseq_py.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rapidfuzz/distance/LCSseq_py.py b/src/rapidfuzz/distance/LCSseq_py.py index bcd9d7a..e233fed 100644 --- a/src/rapidfuzz/distance/LCSseq_py.py +++ b/src/rapidfuzz/distance/LCSseq_py.py @@ -347,4 +347,4 @@ def opcodes( equal a[4:6] (cd) b[3:5] (cd) insert a[6:6] () b[5:6] (f) """ - raise NotImplementedError + return editops(s1, s2, processor=processor).as_opcodes()