f2670f249cd16880adeedd5c3c488586516afca7,ner_v2/detectors/numeral/number/standard_number_detector.py,BaseNumberDetector,_detect_number_from_numerals,#BaseNumberDetector#Any#Any#,93
Before Change
if on_number:
original = (result_text.strip() + " " + current_text.strip()).strip()
if self.max_digit >= len(repr(result + current)) >= self.min_digit:
number_list.append(repr(int(result + current)))
original_list.append(original)
After Change
if on_number:
original = (result_text.strip() + " " + current_text.strip()).strip()
number_detected = repr(int(result + current))
if self.max_digit >= number_detected >= self.min_digit:
number_list.append(number_detected)
original_list.append(original)
result = current = 0
result_text, current_text = "", ""
on_number = False
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: hellohaptik/chatbot_ner
Commit Name: f2670f249cd16880adeedd5c3c488586516afca7
Time: 2018-11-29
Author: amans.rlx@gmail.com
File Name: ner_v2/detectors/numeral/number/standard_number_detector.py
Class Name: BaseNumberDetector
Method Name: _detect_number_from_numerals
Project Name: pyinstaller/pyinstaller
Commit Name: 4952a9ebd45cde469e15dfe8e896c737a63adebe
Time: 2013-07-12
Author: mzibr.public@gmail.com
File Name: PyInstaller/lib/modulegraph/find_modules.py
Class Name:
Method Name: parse_mf_results
Project Name: PyMVPA/PyMVPA
Commit Name: 8136cbee123d97f82a45d258e420c0e7d60f276b
Time: 2009-12-17
Author: debian@onerussian.com
File Name: mvpa/misc/attrmap.py
Class Name: AttributeMap
Method Name: __repr__