ArcdpsExtension
 
Loading...
Searching...
No Matches
rapidfuzz::fuzz::detail Namespace Reference

Functions

template<typename InputIt1 , typename InputIt2 , typename CachedCharT1 >
double partial_ratio_short_needle (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, const CachedRatio< CachedCharT1 > &cached_ratio, const common::CharHashTable< iterator_type< InputIt1 >, bool > &s1_char_map, double score_cutoff)
 
template<typename InputIt1 , typename InputIt2 , typename CharT1 = iterator_type<InputIt1>>
double partial_ratio_short_needle (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, double score_cutoff)
 
template<typename InputIt1 , typename InputIt2 , typename CachedCharT1 >
double partial_ratio_long_needle (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, const CachedRatio< CachedCharT1 > &cached_ratio, double score_cutoff)
 
template<typename InputIt1 , typename InputIt2 , typename CharT1 = iterator_type<InputIt1>>
double partial_ratio_long_needle (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, double score_cutoff)
 
template<typename InputIt1 , typename InputIt2 >
double token_set_ratio (const SplittedSentenceView< InputIt1 > &tokens_a, const SplittedSentenceView< InputIt2 > &tokens_b, const double score_cutoff)
 
template<typename InputIt1 , typename InputIt2 >
double partial_token_set_ratio (const SplittedSentenceView< InputIt1 > &tokens_a, const SplittedSentenceView< InputIt2 > &tokens_b, const double score_cutoff)
 
template<typename CharT1 , typename CachedCharT1 , typename InputIt2 >
double token_ratio (const SplittedSentenceView< CharT1 > &s1_tokens, const CachedRatio< CachedCharT1 > &cached_ratio_s1_sorted, InputIt2 first2, InputIt2 last2, double score_cutoff)
 
template<typename CharT1 , typename InputIt1 , typename InputIt2 >
double token_ratio (const std::basic_string< CharT1 > &s1_sorted, const SplittedSentenceView< InputIt1 > &tokens_s1, const common::BlockPatternMatchVector &blockmap_s1_sorted, InputIt2 first2, InputIt2 last2, double score_cutoff)
 
template<typename CharT1 , typename InputIt1 , typename InputIt2 >
double partial_token_ratio (const std::basic_string< CharT1 > &s1_sorted, const SplittedSentenceView< InputIt1 > &tokens_s1, InputIt2 first2, InputIt2 last2, double score_cutoff)
 

Function Documentation

◆ partial_ratio_long_needle() [1/2]

template<typename InputIt1 , typename InputIt2 , typename CachedCharT1 >
double rapidfuzz::fuzz::detail::partial_ratio_long_needle ( InputIt1  first1,
InputIt1  last1,
InputIt2  first2,
InputIt2  last2,
const CachedRatio< CachedCharT1 > &  cached_ratio,
double  score_cutoff 
)

◆ partial_ratio_long_needle() [2/2]

template<typename InputIt1 , typename InputIt2 , typename CharT1 = iterator_type<InputIt1>>
double rapidfuzz::fuzz::detail::partial_ratio_long_needle ( InputIt1  first1,
InputIt1  last1,
InputIt2  first2,
InputIt2  last2,
double  score_cutoff 
)

◆ partial_ratio_short_needle() [1/2]

template<typename InputIt1 , typename InputIt2 , typename CachedCharT1 >
double rapidfuzz::fuzz::detail::partial_ratio_short_needle ( InputIt1  first1,
InputIt1  last1,
InputIt2  first2,
InputIt2  last2,
const CachedRatio< CachedCharT1 > &  cached_ratio,
const common::CharHashTable< iterator_type< InputIt1 >, bool > &  s1_char_map,
double  score_cutoff 
)

◆ partial_ratio_short_needle() [2/2]

template<typename InputIt1 , typename InputIt2 , typename CharT1 = iterator_type<InputIt1>>
double rapidfuzz::fuzz::detail::partial_ratio_short_needle ( InputIt1  first1,
InputIt1  last1,
InputIt2  first2,
InputIt2  last2,
double  score_cutoff 
)

◆ partial_token_ratio()

template<typename CharT1 , typename InputIt1 , typename InputIt2 >
double rapidfuzz::fuzz::detail::partial_token_ratio ( const std::basic_string< CharT1 > &  s1_sorted,
const SplittedSentenceView< InputIt1 > &  tokens_s1,
InputIt2  first2,
InputIt2  last2,
double  score_cutoff 
)

◆ partial_token_set_ratio()

template<typename InputIt1 , typename InputIt2 >
double rapidfuzz::fuzz::detail::partial_token_set_ratio ( const SplittedSentenceView< InputIt1 > &  tokens_a,
const SplittedSentenceView< InputIt2 > &  tokens_b,
const double  score_cutoff 
)

◆ token_ratio() [1/2]

template<typename CharT1 , typename CachedCharT1 , typename InputIt2 >
double rapidfuzz::fuzz::detail::token_ratio ( const SplittedSentenceView< CharT1 > &  s1_tokens,
const CachedRatio< CachedCharT1 > &  cached_ratio_s1_sorted,
InputIt2  first2,
InputIt2  last2,
double  score_cutoff 
)

◆ token_ratio() [2/2]

template<typename CharT1 , typename InputIt1 , typename InputIt2 >
double rapidfuzz::fuzz::detail::token_ratio ( const std::basic_string< CharT1 > &  s1_sorted,
const SplittedSentenceView< InputIt1 > &  tokens_s1,
const common::BlockPatternMatchVector blockmap_s1_sorted,
InputIt2  first2,
InputIt2  last2,
double  score_cutoff 
)

◆ token_set_ratio()

template<typename InputIt1 , typename InputIt2 >
double rapidfuzz::fuzz::detail::token_set_ratio ( const SplittedSentenceView< InputIt1 > &  tokens_a,
const SplittedSentenceView< InputIt2 > &  tokens_b,
const double  score_cutoff 
)