e87202c6d6a46277d69743d5f43ce9e7d30824cb,ner_v1/detectors/temporal/date/date_detection.py,DateDetector,_detect_date,#DateDetector#,132

Before Change


            corresponding substrings in the given text.
        
        // print "detection for default task"
        date_list = []
        original_list = []
        date_list, original_list = self.get_exact_date(date_list, original_list)
        date_list, original_list = self.get_possible_date(date_list, original_list)
        return date_list, original_list

    def get_exact_date(self, date_list, original_list):
        
        Detects exact date if complete date information - day, month, year are available in text.

After Change


        self._update_processed_text(date_dict_list)
        date_dict_list = self._detect_departure_date()
        final_date_dict_list.extend(date_dict_list)
        self._update_processed_text(date_dict_list)
        date_dict_list = self._detect_departure_return_date()
        final_date_dict_list.extend(date_dict_list)
        self._update_processed_text(date_dict_list)
        date_dict_list = self._detect_any_date()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: hellohaptik/chatbot_ner
Commit Name: e87202c6d6a46277d69743d5f43ce9e7d30824cb
Time: 2017-08-13
Author: mehtamanan0@gmail.com
File Name: ner_v1/detectors/temporal/date/date_detection.py
Class Name: DateDetector
Method Name: _detect_date


Project Name: hellohaptik/chatbot_ner
Commit Name: 46371c58de38d611e2049f5c9ef5176184346cec
Time: 2018-11-19
Author: amans.rlx@gmail.com
File Name: ner_v2/detectors/temporal/time/standard_time_regex.py
Class Name: BaseRegexTime
Method Name: detect_time


Project Name: hellohaptik/chatbot_ner
Commit Name: 567f124ca9acfdea28e4947ace030c41db987e02
Time: 2018-11-19
Author: jain.chirag925@gmail.com
File Name: ner_v2/detectors/temporal/date/standard_date_regex.py
Class Name: BaseRegexDate
Method Name: detect_date