Module hela.math.score_info
Expand source code
from dataclasses import dataclass
from typing import Optional
@dataclass
class SimilarityInfo:
score: float
match_idx: int
match_string: str
target_string: Optional[str] = None
target_idx: Optional[str] = None
Classes
class SimilarityInfo (score: float, match_idx: int, match_string: str, target_string: Optional[str] = None, target_idx: Optional[str] = None)-
SimilarityInfo(score: float, match_idx: int, match_string: str, target_string: Optional[str] = None, target_idx: Optional[str] = None)
Expand source code
@dataclass class SimilarityInfo: score: float match_idx: int match_string: str target_string: Optional[str] = None target_idx: Optional[str] = NoneClass variables
var match_idx : intvar match_string : strvar score : floatvar target_idx : Optional[str]var target_string : Optional[str]