Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:13:44+00:00 2026-06-05T03:13:44+00:00

Hi I did a short course in AI and we designed a chatbot based

  • 0

Hi I did a short course in AI and we designed a chatbot based on AIML and python. I have a new task to design some form of Semantic search engine. I want people to be able to navigate data or search for questions and I give them results. Initially it will be for specific topic e.g. transporation and geography. Some sample input from a user:

  1. How much will it cost for me to get from x to y?

    Ans: It will cost you 26$

  2. How far is x from z?

    Ans: It is 25 Miles

  3. A user can add facourite routes so they can simply type in, Add favourite roAnd the user will then be asked to enter the f routes.

    Ans: Are you asking to add an entry to your favourite routes?

    User:yes.

    Ans: Please enter a favourite route.

  4. Show my common routes.

    Ans: Your common routes are x,y and z.

So the data being searched may be specific to a user hence may have to use a database. Some data is external maybe envoke google maps to enquire on the distances. Some questions may simply require a response from a chatbot.

So what should i do upon user input?
Tokenize it, stem it, parse it?

I was hoping to use AIML somewhere but an article i read http://knytetrypper.proboards.com/index.cgi?board=gbot&action=print&thread=285 . Says AIML is only good for pattern matching. Someone please point me in the correct direction. I downloaded NLTK, it seems usefull but i don’t know if it on its own can do what I require.

Any similar projects articles?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:13:46+00:00Added an answer on June 5, 2026 at 3:13 am

    This is a really hard problem. If you restrict the inputs to a very small space, it can be doable though. At that point though you are just using a vocabulary and have basic commands for each possible query.

    There are several ways to discriminate between types of queries:
    1) parse and try to use all that info
    2) partial parse/pos tag- find verbs
    3) machine learning/classification approach, using pos as feature, distances, words/constructions like ‘to’/’from’

    … and then you can try to pull out the query params once you’ve classified the query correctly.

    I would avoid doing a parse until you are very sure what kind of query it is- a classification approach is the best first step, and for messing with that NLTK is very useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Did some searches here & on the 'net and haven't found a good answer
Did you ever have the following situation: you need to store information, but a
Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method
Did some googling and couldn't find a clear answer on this. My assumption is
Okay so you have and array A[]... that is passed to you in some
I have a weird problem here. In short to the environment we have: There
I'm new to ios development and to stackoverflow. I did try searching both stackoverflow
here's a problem I just stumbled into: I have an php based web service
Short story. This site was created by a friend of mine, who did not
Given some short integers and the dates they represent, is there any systematic method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.