mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update correct.php
This commit is contained in:
parent
b6a526596d
commit
069e2fcd07
@ -47,8 +47,6 @@ if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/
|
||||
* @author Nasibullin Rinat
|
||||
* @version 1.4.3
|
||||
*
|
||||
* Fork: https://github.com/b1rdex/text-lang-correct | Aug 4 2023 | 0.1.8
|
||||
*/
|
||||
|
||||
class Text_LangCorrect
|
||||
@ -2656,15 +2654,12 @@ class Text_LangCorrect
|
||||
'qz ' => 0,
|
||||
'rq ' => 0,
|
||||
'rz ' => 0,
|
||||
'rf ' => 0,
|
||||
'rb ' => 0,
|
||||
'sg ' => 0,
|
||||
'sj ' => 0,
|
||||
'sx' => 0,
|
||||
'sx ' => 0,
|
||||
'sz' => 0,
|
||||
'sz ' => 0,
|
||||
'tc ' => 0,
|
||||
'tg ' => 0,
|
||||
'tj ' => 0,
|
||||
'tq' => 0,
|
||||
@ -2911,12 +2906,6 @@ class Text_LangCorrect
|
||||
$word = $a[0];
|
||||
#var_export($a);
|
||||
|
||||
// todo: add skip list
|
||||
if ($word === 'блэкаут')
|
||||
{
|
||||
return $word;
|
||||
}
|
||||
|
||||
$suggestions = array();
|
||||
|
||||
#если найдено слово из мешанины русских и латинских букв
|
||||
@ -3116,4 +3105,4 @@ class Text_LangCorrect
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user