I'm not sure if this is what you're describing or not but it sounds like her trachea is collapsing. BUT don't worry! This is common in small breed dogs and like elfomatic said, the attacks generally pass quickly. It's sometimes called a "reverse sneeze" but it's actually a tracheal collapse. What happens is the trachea partially collapses causing wheezing and coughing (it may sound like they're choking, snorting or can't get a good breath). It's generally most common in breeds like Chihuahuas, Pugs, Poodles, Yorkies, Poms, Pekes, etc.
To help the attacks pass quicker... you can cover their nose with your hand which causes them to breath through their mouth. You can also gently rub their throat (to get them to swallow a couple of times).
Excitement can induce an attack and it's also usually seen after the dog has been eating or drinking.