Home
last modified time | relevance | path

Searched refs:matchList (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_filter.cpp139 std::vector<MatchedDateTimeInfo> matchList; in FilterOverlayFirst() local
156 return matchList; in FilterOverlayFirst()
167 matchList.push_back(match); in FilterOverlayFirst()
170 return matchList; in FilterOverlayFirst()
196 matchList.push_back(match); in FilterOverlaySecond()
199 return matchList; in FilterOverlaySecond()
206 matchList = FilterDate(content, matchList); in FilterDatePeriod()
207 matchList = FilterDateTime(content, matchList); in FilterDatePeriod()
208 matchList = FilterPeriod(content, matchList); in FilterDatePeriod()
209 matchList = FilterDateTimePunc(content, matchList); in FilterDatePeriod()
[all …]
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dphone_number_matched.cpp71 std::vector<PhoneNumberMatch*> matchList = FindNumbers(country, message); in DealWithoutFixed() local
73 for (auto& match : matchList) { in DealWithoutFixed()
195 matchList.push_back(match); in AddPhoneNumber()
205 std::vector<PhoneNumberMatch*> matchList; in FindNumbers() local
213 return matchList; in FindNumbers()
219 return matchList; in FindNumbers()
228 if (!AddPhoneNumber(number, start, matchList, country)) { in FindNumbers()
243 AddPhoneNumber(tempNumber, phoneStart + start, matchList, country); in FindNumbers()
247 AddPhoneNumber(lastStr, searchStart + start, matchList, country); in FindNumbers()
252 return matchList; in FindNumbers()
[all …]
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include/
H A Dphone_number_matched.h43 bool AddPhoneNumber(std::string& number, int start, std::vector<PhoneNumberMatch*>& matchList,