|
|
|
@ -49,7 +49,7 @@ class XMLProcessor:
|
|
|
|
|
warnings.warn("Empty text")
|
|
|
|
|
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")
|
|
|
|
|
return 0.0
|
|
|
|
|
|
|
|
|
|