20 instead of 15
parent
1b79bed702
commit
5cb2a70096
2
parse.py
2
parse.py
|
@ -49,7 +49,7 @@ class XMLProcessor:
|
||||||
warnings.warn("Empty text")
|
warnings.warn("Empty text")
|
||||||
return 0.0
|
return 0.0
|
||||||
|
|
||||||
if text is not None and len(text) < 15 and self.contains_number(text):
|
if text is not None and len(text) < 20 and self.contains_number(text):
|
||||||
warnings.warn("Text contains number")
|
warnings.warn("Text contains number")
|
||||||
return 0.0
|
return 0.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue