diff --git a/ktrain/text/kw/core.py b/ktrain/text/kw/core.py index e9ddf60d1..48432a8ff 100644 --- a/ktrain/text/kw/core.py +++ b/ktrain/text/kw/core.py @@ -204,6 +204,7 @@ def extract_keywords( and kw[-1].isalnum() and kw[0].isalnum() and "@" not in kw + and "." not in kw ] ) cnt = Counter(candidates)