Update parse-text.py

updated hashtag logic