update wordSpecParcer.py
refactor for object style