| 1550 | |
| 1551 | public: |
| 1552 | AdditionalCommonTokens() |
| 1553 | { |
| 1554 | char const * arr[] = { |
| 1555 | "a", "and", "s", "the", // English |
| 1556 | "am", "an", "auf", "der", "im", "und", "zum", // German |
| 1557 | "as", "d", "da", "das", "de", "del", "di", "do", "dos", "du", "e", |
| 1558 | "el", "et", "la", "las", "le", "les", "los", "o", "os", "y", // French, Italian, Portuguese, Spanish |
| 1559 | "в", "и", "за", "к", "на", "я" // Cyrillic |
| 1560 | }; |
| 1561 | for (char const * s : arr) |
| 1562 | m_strings.insert(NormalizeAndSimplifyString(s)); |
| 1563 | } |
| 1564 | bool Has(String const & s) const { return m_strings.count(s) > 0; } |
| 1565 | }; |
| 1566 | static AdditionalCommonTokens const s_addCommonTokens; |
nothing calls this directly
no test coverage detected