Skip to content

Added a verification for empty tokens - #1353

Merged
stevenbird merged 1 commit into
nltk:developfrom
gnardari:patch-1
Apr 1, 2016
Merged

stevenbird merged 1 commit into
nltk:developfrom
gnardari:patch-1

Conversation

@gnardari

@gnardari gnardari commented Apr 1, 2016

Copy link
Copy Markdown
Contributor

An empty token makes the classifier crash. I've ran into this issue multiple times and this simple if statement fixes that.

An empty token makes the classifier crash. I've ran into this issue multiple times and this simple if statement fixes that.
@stevenbird
stevenbird merged commit 145a7ce into nltk:develop Apr 1, 2016
@stevenbird

Copy link
Copy Markdown
Member

Thanks @Guivn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants