0

Hello friends,
I am trying to make a program in which there would be a text file which would contain a certain piece of information.Now the user would ask questions and the program would answer the question using the information given in the text file.
This is basically related to NATURAL LANGUAGE PROCESSING. I have used simple word matching approach in which i rate each sentence based on following principle
->If a sentence contains any word which occurs in the question its score is incremented by a particular value.

At the end i print all the sentences with the maximum score.

This approach is not yielding logical results in most of the cases.
Please suggest some ways that can make answers more appropriate or some other algorithms for such a program.

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by sknake
0

@ danbe
yes , my project is basically related to artificial intelligence.

0

This is more of a theory question than a C# question .. I would post this in another forum. I personally don't deal with AI but maybe that will help you in searching for answers

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.