First, a disclaimer: IANAD. However, I do have Tourette Syndrome, so I probably tend to be somewhat more aware about the facts and myths surrounding it than your average Joe off the street. That said, I cannot guarantee that my answers are completely accurate. If you honestly think you have TS, see a doctor. At any rate…
I’d doubt that you have TS. The syndrome is almost always characterized by vocal or motor tics, that increase with stress. I have very mild symptoms, but trust me, when I’m under a lot of stress, I can definitely see the change – sometimes to the extent of muscle aches.
The whole deal with people shouting out obscenities (coprolalia) does occur, but in less than 15% of cases. Nevertheless, it is the symptom most stands out, and is the one that is most frequently portrayed in the media, despite its rarity.
In light of this, simply having “obscene/inappropriate thoughts” doesn’t seem to qualify, especially if there are no motor or vocal tics. Still, if you honestly think you have TS, there’s no harm in seeing a doctor, who could make a proper diagnosis, or at least refer you to someone who could. Even then, there’s not necessarily a big concern about it. I’ve never taken any medication for my symptoms, and I get along just fine. In fact they’ve reduced in severity as I’ve grown older, as is the case with most people with TS.
For more information about Tourette Syndrome, check out the National Tourette Syndrome Association webpage (which, not-so-coincidentally, is where I got my cites).