|
Public function to find existing sentences in the string database
Finds similar sentences and returns them in an array ordered by match percentage descending. Return format: array[stringID]["string"][] = array, TranslationString objects with all matches array[stringID]["percent"] = integer, match percentage If parameters are omitted, the current string object's text and localeID will be used. If parameters are specified, the current string is changed to those.
- Parameters:
-
| $FindText | The sentence or text to find, if emtpy, uses this object's Original string. |
| $localeID | Find strings only in this locale. |
| $FilterPercent | Drop results below this match percentage, defaults to 60. |
- Returns:
- Array of matches of ID,Percent subarrays of TranslationStrings, ordered descending by Percent.
Definition at line 398 of file TranslationString.php.
References $DB, FindSentenceIndex(), GetDbConn(), and GetTables(). |