diff --git a/parse.py b/parse.py index 5abc82c..4d7dcff 100644 --- a/parse.py +++ b/parse.py @@ -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