class_docstr: longest common substring similarity
      
class_docstr_tok: ["longest","common","substring","similarity"]
code: def similarity(self, *sequences: str) -> int:
      return len(self(*sequences))
  
imports: from __future__ import annotations
  from difflib import SequenceMatcher
  from typing import Any
  from ..utils import find_ngrams
  from .base import BaseSimilarity
  from .types import TestFunc
label_desc: Use image node_id 4 for calling the LCSStr obj's underlying member method code with example usage: obj.similarity() and returns: len