MCPcopy Create free account
hub / github.com/comaps/comaps / AdditionalCommonTokens

Method AdditionalCommonTokens

libs/search/query_params.cpp:1552–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45

Tested by

no test coverage detected