-
Notifications
You must be signed in to change notification settings - Fork 29
Natural language processing
Using (tm Package and NLP package) to answer user's questions.
We will read a question from a web interface using (tm Package) then use (NLP Package) to break the question into tokenizers and convert it to matrix. then we can train a model to predict score using machine learning algorithm . finally use a UIMA to discover Knowledge to understand the question and search a database for the answer. This system can be used to build intelligent expert system in various fields.
This system can be a good beginning to more intelligent expert systems.
1- Create a web interface to enter the questions.
2- Use (tm package)to read the question.
3- Use (NLP package) to convert the question to tokenizers then the matrix finally train
model and predict score.
4- Use UIMA to discover Knowledge.
5- Create database that will save answers for the questions.
a very good programming experience in R language and Java.
Good programming Knowledge in HTML.
Database and SQL.
Knowledge about tm package and NLP package.
R has built in linear regression Function lm().it take a formula that denote the target and the predictor variables and output a model object . take an e.g. of simple linear regression model analysis on the wine dataset , we consider the quality as predictor variable to predict the wine price so that the more quality has the higher price . visualize this property in scatter plot and perform the regression with the formula (price~quality).Observe the model coefficient by printing the model object.
Name : Islam sediek Email : [email protected]