Update lcs.py
Browse files
lcs.py
CHANGED
@@ -37,4 +37,5 @@ def find_common_subsequences(sentence, str_list):
|
|
37 |
# Assign indices based on the sorted order
|
38 |
indexed_common_grams = [(index + 1, subseq) for index, (_, subseq) in enumerate(common_grams)]
|
39 |
|
40 |
-
return indexed_common_grams
|
|
|
|
37 |
# Assign indices based on the sorted order
|
38 |
indexed_common_grams = [(index + 1, subseq) for index, (_, subseq) in enumerate(common_grams)]
|
39 |
|
40 |
+
return indexed_common_grams
|
41 |
+
|