def getTrendingHashtagsByGchatId(gchat_id): return HashtagHandler().getTrendingHashtagByGchatId(gchat_id)
def getTrendingTopic(): return HashtagHandler().getTrendingHashtag()
def getHashtagByID(hashtag_id): return HashtagHandler().getHashtagByID(hashtag_id)
def getFrequencyByHashtagText(hashtag_text): return HashtagHandler().getFrequencyByHashtagText(hashtag_text)
def getMsgsByChatIdAndHashtagText(gchat_id, hashtag_text): return HashtagHandler().getMsgsByChatIdAndHashtagText( gchat_id, hashtag_text)
def getMsgsByHashtagText(hashtag_text): return HashtagHandler().getMsgsByHashtagText(hashtag_text)
def getHashtagdByMsgId(msg_id): return HashtagHandler().getHashtagByMsgId(msg_id)
def distinctHashtag(): handler = HashtagHandler() return handler.getAllDistinctHashtag()
def hashtag(): handler = HashtagHandler() return handler.getAllHashtag()