Vebot 4.0 Verbot Community
Home | About Us | Products Overview | Verbot Standard Edition | Verbots Online | Downloads | Community | Wiki | SDK
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bulk Synonym Import!

 
Post new topic   Reply to topic    Verbots Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
Mitch38
ChatterBot
ChatterBot


Joined: 12 Aug 2009
Posts: 38
Location: San Diego, CA. USA

PostPosted: Wed Dec 09, 2009 4:23 am    Post subject: Bulk Synonym Import! Reply with quote

Seriously. Magic could be had if you could import databases into the synonym file.
_________________
Don't worry, it will all be over soon...
Back to top
View user's profile Send private message Visit poster's website AIM Address
JonC
MasterBot
MasterBot


Joined: 02 Apr 2008
Posts: 340
Location: Leicestershire, Great Britain

PostPosted: Thu Jan 14, 2010 9:56 pm    Post subject: Importing synonyms Reply with quote

The actual importation of synonyms would be no problem, provided that the data was presented in CSV format.
the synonyms could be set up a CSV file (one row per synonym group eg lady,woman,girl) and each row of a CSV file can be stored as a separate vars-variable.
A modification to my MatchOr VCM function would then allow you to match a root word (eg lady) to any synonym and a bit of tweaking to by CSV.GetElement function would allow you to select a random(ish) example from the whole row.
If you want to pursue this Mitch, take it to the Scripting forum (preferably under my "CSV files - at last" thread and I'll suggest how it could be done.

ps I said "random(ish)" because there are some problems with Verbot-generated random numbers. Main one is you can't do it very frequently without getting the same one back each time!
On other hand I have a VCM function for this too.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Verbots Forum Index -> Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum