Find Jobs
Hire Freelancers

query building algorithm

$30-5000 USD

Closed
Posted over 15 years ago

$30-5000 USD

Paid on delivery
I need a simple algorithm to build a query ( ie lucene query for example ) from user input text. I have a program which can extract the tokens out of input text. I have a database storing different senses of tokens. For example, the word 'renovated' has a synonym sense of 'remodeled'. I have stored in a database 2000 words and their different senses and relationship types. I have 6 relationship types for each term. 1. synonym 2. abbreviation 3. antonym 3. subset, 4. superset 5. implied or suggested 'balcony' for example is a superset of 'juliet balcony' whereas 'juliet balcony' is a subset of 'balcony' Also relationships can be defined to be uni directional or bi-directional. For example : B is a suggestion of A but not necessarily A is a suggestion of B. I create a lucene query with all possible senses of the words in input text. however, to find out all possible senses, we may need to traverse the relationships. For example, if A occurs in input text if B is a synonym of A then B goes into luecen query vector. also if C is a synonym of B then C also goes into query vector and so on. we form 2 types of lucene query vectors : direct = consists of derivedwords which are synonyms, abbreviations, subsets suggested = derived words which are supersets, implied or suggested i need an algorithm to build this query vector in an efficient way. Simply can BE WRITTEN DOWN on paper / pen as algorithm / pseudo code. No need to write actual physical code . Looking for ideas.
Project ID: 3383458

About the project

7 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $45 USD for this job
User Avatar
See private message.
$106.25 USD in 2 days
3.8 (30 reviews)
5.5
5.5
User Avatar
See private message.
$42.50 USD in 2 days
5.0 (22 reviews)
5.2
5.2
User Avatar
See private message.
$20.40 USD in 2 days
4.7 (78 reviews)
5.0
5.0
User Avatar
See private message.
$42.50 USD in 2 days
5.0 (7 reviews)
3.5
3.5
User Avatar
See private message.
$25.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$68 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
112
Payment method verified
Member since Oct 9, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.