How to setup Virtual Host in Ubuntu 16 / Ubuntu 18 on localhost / local machine To run the website with host on localhost(With LAMP) becomes important in many cases. This blog post will demonstrate how to achieve this. Assuming you have LAMP already installed and reading the code from (/var/www/html) Follow the simple steps below Create the code base To Create the code, simply create a directory named localweb inside /var/www/html. Create a file index.php inside localweb directory Content of index.php file <?php echo "Local Website"; ?> Now our code base is set, so we need to configure apache Go to apache directory cd /etc/apache2/sites-available/ Create one file named localweb.conf with content <Directory /var/www/html/localweb/> AllowOverride All </Directory> <VirtualHost *:80> ServerAdmin admin@localweb.com ServerName localweb.com ServerAlias www.localweb.com Documen
Introduction to Natural Language Processing(NLP) Natural Language Processing is a technique where in we need to process the normal human language and makes sense out of it. Basically this tutorial has two part one is theory and another is practical. We will post few posts on examples of Natural Language Processing on both Stanford CoreNLP / Apache OpenNLP. There are some steps that needs to be follow in processing the Natural Language. Actually there are many Natural Language Processing tools like Apache OpenNLP, Stanford CoreNLP etc. But major steps are same for everyone. a) Sentence Detection : In this part, the individual sentence are detected from the main sentence. As for example ,as seen in two different colours, Natural Processing Language is a good Technique. It has various parts , there are two different sentences. Using this step we detect this two individual sentence from the main sentence and do the processing for the next step.