doc classifier example now using new operators