Skip to content

Commit

Permalink
added kw condition
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Jul 9, 2022
1 parent 0d790ea commit ec7e310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ktrain/text/kw/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ec7e310

Please sign in to comment.