[issue #353] [WIP] adds the the category to words if not present and fixing documnentation