c81fafd9c93e90babeab6b0c7321ee88163955ab,ner_v1/chatbot/entity_detection.py,,get_regex,#Any#Any#Any#Any#Any#Any#,471
Before Change
if entity_list:
return output_entity_dict_list(entity_list, original_text_list, FROM_STRUCTURE_VALUE_VERIFIED)
else:
return output_entity_dict_value(structured_value, structured_value, FROM_STRUCTURE_VALUE_NOT_VERIFIED)
else:
entity_list, original_text_list = regex_detection.detect_entity(text=message)
if entity_list:
return output_entity_dict_list(entity_list, original_text_list, FROM_MESSAGE)
elif fallback_value:
return output_entity_dict_value(fallback_value, fallback_value, FROM_FALLBACK_VALUE)
return None
After Change
if entity_list:
return output_entity_dict_list(entity_list, original_text_list, FROM_STRUCTURE_VALUE_VERIFIED)
else:
return output_entity_dict_list([structured_value], [structured_value], FROM_STRUCTURE_VALUE_NOT_VERIFIED)
else:
entity_list, original_text_list = regex_detector.detect_entity(text=message)
if entity_list:
return output_entity_dict_list(entity_list, original_text_list, FROM_MESSAGE)
elif fallback_value:
return output_entity_dict_list([fallback_value], [fallback_value], FROM_FALLBACK_VALUE)
return None
In pattern: SUPERPATTERN
Frequency: 11
Non-data size: 12
Instances
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_regex
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_time
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_email
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_shopping_size
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_regex
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_text
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_number
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_pnr
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_phone_number
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_city
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_location
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: get_budget