Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Utilities\StringComparators Namespace Reference

Contains a simple string compare class. More...

Classes

class  EditDistanceStringComparator
 Smart string comparator that uses simple string comparison, and then the levenshtein algorithm to compare two strings. More...
 
class  SimpleStringComparator
 A simple string comparator, that compares two strings and determines if they are an exact match. More...
 
interface  StringComparator
 An interface to be implemented by comparators that will compare percentage of similarity between strings. More...
 

Detailed Description

Contains a simple string compare class.

@license GPL-2.0-or-later