I agree with Don. Keep her in the crate, when she does go praise her, pet heer and make her know you approve. If the dog has an accident, nevewr whip it, rub it's nose in it, just scold the dog and put in the crate immediately. It may take a while but she will get the message.
I laugh at some people when they talk about housebreaking an animal. One guy I use to work with could not understand why his dog messed on the floor every day. I ask him if the dog was crated, no! I ask him if someone was there to let the dog out when it needed to go, no! The guy left home at 6am to go to work, his wife and kids left at 7:30 for school and her work, no one returned home untill 6PM, and he wondered why the dog messed on the floor. Heck, had he left me penned up for 12 hours, and no other place to go, Then I would have likely messed on the floor too.
The point is, dogs are like kids, you can't expect them to learn if no one is there to correct, or train them.