1
vote
0answers
24 views

DOMDocument field class Python

What do you think of this class? Is this simple to understand how it works and what it does? Do you think it is good piece of code? class Field(object): """Class which contains logic of ...
1
vote
0answers
270 views

NLTK language detection code in Python

I need to write some code that checks thousands of websites, either if they are in English or not. Bellow is the source code. Any improvements would be appreciated. import nltk import urllib2 import ...