Image Story Teller

    17 Votes

The aim of the project is to develop a software which will convert a text story into its corresponding image story. This software can represent a simple or even a big story with images corresponding to each sentence in the story. Each sentence of the given story is analyzed for its meaning and matching images are extracted from the web using Google Search Engine. The sentences are replaced by images which can convey the meaning of the text data, so that, the user obtains an image story line as an output for the text story line given as input. For finding which all words in each sentence make it meaningful, we make use of the NLTK module available in Python. At first, each word in the given story is tokenized using the tokenizer available in Python.

Using part of speech tagging functions in NLTK, each tokenized word is then tagged with a part of speech tag. These tagged words are then accepted by a PHP program and separated into different sentences. The PHP program then analyze the tags associated with each words in a sentence and form meaningful search keys corresponding to each sentence using which image search can be made on Google. A JavaScript function is then designed by making use of Google API classes, which in turn accepts each search keys and returns the most rated image from the Google Image results. The image story is designed in such a way that the images are represented in a gallery format. There is button which can be clicked to get the image corresponding to each sentence in the story. The sentence for each image, is also displayed below it, so that it can be understood in a better way.

NLTK is an open source project. Various NLTK modules are

  • Token - This library contain classes which are used to process individual elements of text, such as words and sentences 
  • Probability - Contain classes to process process probabilistic information. 
  • Tree - Classes for representing and processing hierarchical information over text. 
  • CFG - Classes for representing and processing context free grammars.
  • FSA - Finite state automaton
  • Tagger - Used for tagging each word with a part of speech, sense etc 
  • Parser - Building trees over text (includes chart, chunk and probabilistic parser's) 
  • Classifier - Classify text into categories (includes feature, feature Selection, maxent, naivebayes
  • Draw - Visualize NLP structures and processes them
  • Corpus - Access (tagged) corpus data

Popular Videos

communication

How to improve your Interview, Salary Negotiation, Communication & Presentation Skills.

Got a tip or Question?
Let us know

Related Articles

Travel Planner using Genetic Algorithm
Data Recovery and Undeletion using RecoverE2
PC CONTROLLED ROBOTIC CAR
Routino Router Algorithm
Data Leakage Detection
Scene Animation System Project
Data Structures and Algorithms Visualization Tool
Paint Program in C
Solving 0-1 Knapsack Problem using Genetic Algorithm
Software Watermarking Project
Android Gesture Recognition
Internet working between OSI and TCP/IP Network Managements with Security Features Requirements
Web Image Searching Engine Using SIFT Algorithm
Remote Wireless Sensor Networks for Water Quality Monitoring Requirements
Ranking Spatial Data by Quality Preferences
Scalable Learning Of Collective Behaviour
Computational Metaphor Extraction And Interpretation
Designing a domain independent Rules Engine For Business Intelligence
Graph Colouring Algorithm
Gesture Based Computing