Improving automatic advertisement rspec generation