commented thesaurus building component

Also put comment above.