UPDATED docclass.py

added max and minWordlength