Humping is nothing more than bad behavior, and sholuld be treated as such. Tell her no and remove the obgect. If she is humping YOU, she is dominating you and you need to establish yourself as the pack leader.
Some ways to do this.
Make her wait befor you allow her to eat. I set the food down and keep pushing them away saying WAIT, untill they stop trying to go after it. Then I tell them OK.
Also pretend to eat from the bowl first. Pack leaders always eat first.
Another thing is to walk toward her preventing her from getting past you, make her back up.
You can also check for solutions on Cesars website.
Welcome to Cesar Millan's Official Web Site | Cesar Millan
And if anyone tries to tell you it should be allowed. Just picture a gereat dane humping the arm of your sofa. No one would allow that.