9956e7687389f4f7cd16693255cb912c7da2f378,ner_v1/detectors/textual/text/text_detection.py,TextDetector,detect_entity,#TextDetector#Any#,154
Before Change
text_entity_data = self._text_detection_with_variants()
self.text_entity = text_entity_data[0]
self.original_text_entity = text_entity_data[1]
return text_entity_data
def _text_detection_with_variants(self):
After Change
self.text = text.lower()
self.processed_text = self.regx_to_process.text_substitute(self.text)
self.processed_text = u" " + u" ".join(TOKENIZER.tokenize(self.processed_text)) + u" "
self.tagged_text = self.processed_text
values, original_texts = self._text_detection_with_variants()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: hellohaptik/chatbot_ner
Commit Name: 9956e7687389f4f7cd16693255cb912c7da2f378
Time: 2018-07-23
Author: jain.chirag925@gmail.com
File Name: ner_v1/detectors/textual/text/text_detection.py
Class Name: TextDetector
Method Name: detect_entity
Project Name: CyberZHG/keras-bert
Commit Name: 2df9a66ac40d1017792b1c93f34e47e214726d7d
Time: 2019-03-18
Author: CyberZHG@gmail.com
File Name: demo/load_model/load_and_pool.py
Class Name:
Method Name:
Project Name: CyberZHG/keras-bert
Commit Name: 2df9a66ac40d1017792b1c93f34e47e214726d7d
Time: 2019-03-18
Author: CyberZHG@gmail.com
File Name: demo/load_model/load_and_extract.py
Class Name:
Method Name: