PluginProbe
404 Solution / 4.3.0
404 Solution v4.3.0
4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.1.7 4.1.6 4.1.5 4.1.4 4.1.3 trunk 2.30.0 All 109 releases
404-solution / includes / spelling / StopWords.php

StopWords.php in 404 Solution 4.3.0, at includes/spelling/StopWords.php

28 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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