| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
|
| 7 |
/** |
| 8 |
* Canonical list of English stop words shared between the content-matching |
| 9 |
* engine (Core) and the permalink-cache keyword extractor (Data). Lives in the |
| 10 |
* Shared layer so both layers can reference it without crossing layer |
| 11 |
* boundaries. |
| 12 |
*/ |
| 13 |
final class ABJ_404_Solution_StopWords { |
| 14 |
|
| 15 |
/** @var array<int, string> */ |
| 16 |
public static $common = [ |
| 17 |
'the', 'and', 'for', 'with', 'this', 'that', 'from', 'your', 'have', |
| 18 |
'will', 'been', 'they', 'their', 'what', 'when', 'where', 'which', |
| 19 |
'there', 'about', 'would', 'could', 'should', 'into', 'than', |
| 20 |
'then', 'them', 'these', 'those', 'does', 'done', 'also', 'just', |
| 21 |
'more', 'most', 'much', 'very', 'some', 'only', 'over', 'such', |
| 22 |
'each', 'were', 'here', 'after', 'before', 'between', 'under', |
| 23 |
'through', 'being', 'other', 'like', 'not', 'but', 'are', 'was', |
| 24 |
'all', 'any', 'can', 'had', 'her', 'his', 'how', 'its', 'may', |
| 25 |
'our', 'own', 'who', 'you', |
| 26 |
]; |
| 27 |
} |
| 28 |
|