skip to Main Content

I am studying about artificial intelligence
How did the virtual assistants analyze questions?
Example: when I said “Way from New York City to Washington DC” , va opened google map?

2

Answers


  1. If I would develop that stuff myself I’d probably would use pattern like
    If ({a} {linker} {b}) where a and b are in list of cities on map or something related to that and linker is word like “from” or “to” i would run google maps with, also if any of remaining words would signal that it is map related stuff, like “location”, “map”, “route” and so on…

    Just a guess but I think this should work like that

    Login or Signup to reply.
  2. I don’t have any idea that which programming language will you prefer to develop this project but I highly recommend Python. It is object-oriented, high level and extensive support libraries. Moreover, I don’t know what is your targeted OS for this project, you unfortunately have not specified it and maybe you will choose Android OS(for mobile application you may use Python) so Python may not be a good option for you. But I supposed that you will develop a desktop application so I will propose my opinions under the motivation that you will choose Python to develop this project.

    First of all, you can use speech recogition library for speech to text. After getting text from speech, we can jump to next step which is analyzing the questions.

    At the present time, deep learning is the state of the art and Tensorflow is the great technology to take advantage of deep learning.

    This is an amazing chatbot framework to build a conversational model for your custom chat bot. You should edit this JSON file to create your conversational intents, after the editing JSON file, you can analyze the questions of user (i.e. your program can understand what user said, the program will parse the question and get the location which is requested by user). When you get the location from question, the program can open browser (for example GoogleMaps) via executing an Ubuntu terminal command in Python.

    As a summary, when user says “Way from New York City to Washington DC” the program will run respectively;

    1. Get text from user speech

    2. The program will analyze text via trained system and it can understand that what user said

    3. The program can get the destination and current location which is specified by user (many kind of information can get from user request) by using the structure of this JSON[I recommend this way], or may be NLP or using any kind of string operations

    4. The program will start to load Google maps URL via (for example) Ubuntu terminal command for these location information

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search