1424989f36233b6a60d53cba8ceecb239dbfba05,ner_v2/detectors/temporal/date/en/date_detection.py,DateDetector,get_exact_date,#DateDetector#Any#Any#,133

Before Change


        date_list, original_list = self._gregorian_day_month_year_format(date_list, original_list)
        self._update_processed_text(original_list)
        date_list, original_list = self._gregorian_month_day_year_format(date_list, original_list)
        self._update_processed_text(original_list)
        date_list, original_list = self._gregorian_year_month_day_format(date_list, original_list)
        self._update_processed_text(original_list)
        date_list, original_list = self._gregorian_advanced_day_month_year_format(date_list, original_list)
        self._update_processed_text(original_list)

After Change


            corresponding substrings in the given text.

        
        if self.country_code in ["US"]:
            date_list, original_list = self._gregorian_month_day_year_format(date_list, original_list)
            self._update_processed_text(original_list)
            date_list, original_list = self._gregorian_day_month_year_format(date_list, original_list)
            self._update_processed_text(original_list)
        else:
            date_list, original_list = self._gregorian_day_month_year_format(date_list, original_list)
            self._update_processed_text(original_list)
            date_list, original_list = self._gregorian_month_day_year_format(date_list, original_list)
            self._update_processed_text(original_list)
        date_list, original_list = self._gregorian_year_month_day_format(date_list, original_list)
        self._update_processed_text(original_list)
        date_list, original_list = self._gregorian_advanced_day_month_year_format(date_list, original_list)
        self._update_processed_text(original_list)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: hellohaptik/chatbot_ner
Commit Name: 1424989f36233b6a60d53cba8ceecb239dbfba05
Time: 2019-09-24
Author: ruthvik@haptik.co
File Name: ner_v2/detectors/temporal/date/en/date_detection.py
Class Name: DateDetector
Method Name: get_exact_date


Project Name: hellohaptik/chatbot_ner
Commit Name: 05acac9db23ecbf12b5a344d418dc1da684ad013
Time: 2018-09-02
Author: anchan.viraj@gmail.com
File Name: ner_v1/detectors/temporal/time/time_detection.py
Class Name: TimeDetector
Method Name: _detect_time


Project Name: hellohaptik/chatbot_ner
Commit Name: 2dcd707260a518b4536a3ce123e86877170f92b1
Time: 2018-09-03
Author: anchan.viraj@gmail.com
File Name: ner_v1/detectors/temporal/time/time_detection.py
Class Name: TimeDetector
Method Name: _detect_time