{'fraction_non_alphanumeric': 0.015509103169251517, 'fraction_numerical': 0.0, 'mean_word_length': 4.77431906614786, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Generation of a Short Narrative Caption for an Image Using the Suggested Hashtag

Existing methods for image captioning aim to generate captions in natural language by using the image attributes. Though these captions are enough to explain what the image is about in most cases, yet sometimes more than a single sentence is desired to describe the context of an image especially when a good caption for the image draws more public attention or 'likes' on a social media post. Though some work has been done to develop models that can generate hashtags for images, but no research work exists that can use those hashtags to create storylike captions. A hashtag can be defined as a word preceded by the symbol '#' and is used to identify an image on social media sites like Instagram. The goal of this application paper is to explore the possibility of generating hashtags for an input image and leverage it to generate meaningful anecdotes connecting to the essence of the image. The experiment conducted, uses an attention-based encoder-decoder framework to produce hashtags for the raw image while a character-level language model, which is trained using a multi-layer RNN, is used to generate stories using one of the suggested hashtags. The model was then tested on HARRISON dataset of Instagram images and the results were qualitatively analyzed through a user study. After analyzing the outcomes of the experiment, it was concluded that this area of research has huge prospects.