My dog barks loads too. All day! Not as bad as yours (no offence) but usally all day. But not when we're going on walks, because it's not her territory.
But, I suggest that you either get a clicker (which we've got) or a collar. You know those collars where you have a remote, and if they bark or something you press 1, 2 or 3. 1 lets off a little spray stuff (I think its water, I'm not sure), 2 gives off a siren thing that your dog REALLY hates, and 3 lets off a big spray and a loud (to dogs) siren.
At least I think that's what happens.
Hold on, my family has got a method: we either use our clicker, or we say, "Jemma, come!" (because Jemma's her name) and she comes, and usally stops barking.
Best of luck.