nltk / nltk_contrib

NLTK Contrib
http://nltk.org/
Other
166 stars 137 forks source link

Readability: Allow preconfigured language #8

Closed relwell closed 7 years ago

relwell commented 11 years ago

This pull request allows the ReadabilityTool class to skip language detection if passed the appropriate parameter.

Also adds .pyc to .gitignore :) (resolves https://github.com/nltk/nltk_contrib/issues/7)

DeaconDesperado commented 11 years ago

+1, I like this change. I've been setting the lang property manually and this is a better idiom.