Home Technical Technical Automatic Synonym Generator

Latest Comments

Bookmark this!!!

Automatic Synonym Generator PDF Print E-mail
Tweet me!
User Rating: / 0
PoorBest 
Technical - Technical
Written by Karthikeyan NG   
Sunday, 27 September 2009 17:52

This is an application on LAMP stack which can be used further for online GRE tests. This is how all GRE tests works at the back end. I have tried in this method.
Autosyngen:

As we know, the wordnet(online dictionary from princeton university) db is organized in "synsets", so each word has several synonyms, and those synonyms in turn have their own synonyms, and so on. This arrangement can be used to dynamically generate a multiple choice question for each word. Here this will pick a random word from a attached file and generate a multiple choice question having five answer choices, of which one choice alone is correct (ie it is one of the valid synonyms of the given word) and the other four choices are randomly picked from entries in the db.

So far, so good. But there is a problem: What if, among the four "wrong" choices, there are words close to the main word? Maybe another direct synonym, or the synonym of a synonym? Thus we should define a metric, "Minimal Path Length" or MPL that tells us "how far apart two words are, in their meanings".

For Eg, the word "be" has a synonym "live", and "live" in turn has a synonym "endure", which in turn has a synonym, "suffer". So the words <"be", "suffer"> have an MPL of 3 as you have to hop 3 synonyms to get to one from the other.

Of course, this is assuming that there are no common synonyms across this set (eg. "suffer" is not a synonym of "live") - that's what "Minimum" means, ie it's the shortest path. So, use the above logic to ensure that your four wrong answer choices are at an MPL >= 4 from the main word. Now, for each question, the generated answer choices have 1 right choice and 4 very wrong choices. But an intelligent question will also have a "distracter" answer choice, ie one that's close to the right answer but is not the right answer. Ie 1 right choice, 1 distracter choice and 3 very wrong choices. I think you have understood the scenario now. Okay. For achieving these things,

Other things are explained in the downloadable application in the projects page. If you have any questions feel free to contact me. Online demo is available @ http://intrepidkarthi.com/autosyngen


Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):S
:!::?::idea::arrow:
Security
Please input the anti-spam code that you can read in the image.
 
Copyright © 2010 Karthikeyan NG. All Rights Reserved.
 


I am Karthikeyan NG, working as a software programmer in Hyderabad,India. Exploring new technologies, Bike riding, PC Gaming, Reading Novels, Blogging, Writing thamizh poems are my hobbies.


Who's Online

We have 9 guests online

Follow @ Twitter

Twitter / intrepidkarthi

My Visitors

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday28
mod_vvisit_counterAll days3588

We have: 6 guests, 3 bots online
Your IP: 38.107.191.88
 , 
Today: Mar 12, 2010