I had a westie cross and he did the same sort of thing
He unfortunately had asthma and thats how it began with this funny inhaled type sneezing/coughing spasm
If it's just an allergy, maybe think back towards anything new added to your home or what you use on your floors and carpets for cleaning. It could just be allergy related.
If it's asthma or u think it may be asthma then get her to a vet for sure.
Cats only have nine lives because they stole them from dogs!Teehee