Click here to Skip to main content
15,881,089 members
Articles / Web Development / Node.js

NLP-Samurai@0.0.10 Natural Language Processing Engine In Node.js, Angular 2 and MySQL

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
4 Apr 2020CPOL2 min read 8.7K   56   6  
Introducing NLP-Samurai@0.0.10 Natural Language Processing Engine.

Image 1

To download the project, you can alternatively visit my GitHub repository at https://github.com/arthurratz/nlpsamurai-0.0.10.

Also,  you may try out the web-application by visiting http://ec2-13-59-151-81.us-east-2.compute.amazonaws.com/.

How To Install And Use This Project

NLP-Samurai@0.0.10 requires Node.js v4+ to run.

Prerequisites

To install and use NLP-Samurai@0.0.10 Node.js demo, you must install the following software:

After you've successfully installed these products and properly setup MySQL server, you can proceed with the next installation and configuration steps.

Step 1: Create Database And Import Data

  1. Open MySQL Workbench 8.0 CE and locate Data Import/Restore option under Administration tab by clicking it in the sidebar leftside your MySQL Workbench window:

    Image 2

  2. In the Administration - Data Import/Restore tab of the MySQL Workbench window, select Import from Disk tab below and toggle select file [...] button:
  3. Select a folder containing nlp-samurai_db.sql file. In this case, this file is located in the main projects folder, for example: (/nlp_samurai/nlp_samurai/). After you've selected a proper directory containing this sql-file, nlp-samurai_db database schema icon will appear under the Select Database Objects To Import list view:

    Image 3

  4. Finally, locate and click Start Import button in the bottom-right corner of the Import from Disk tab, to launch the database creation and data import process.

    Image 4

Step 2: Installing Node.js Modules Dependencies

The NLP-Samurai@0.0.10 project relies on using the number of Node.js modules, from npmjs.org repository, created by the other side-developers. To install these modules, you must use the following command in the Node.js command prompt:

<path-on-your-drive>\nlp_samurai\nlp_samurai\>npm install --save

By executing the following command, all required Node.js modules, specified in package.json file will be installed to the \nlp_samurai\nlp_samurai\node_modules folder.

Step 3: Running NLP-Samurai@0.0.10 Express Server:

Finally, all you have to do next is to launch NLP-Samurai@0.0.10 server web-application. To do this, you must type in the following in your Node.js command prompt:

<path-on-your-drive>\nlp_samurai\nlp_samurai\>npm update & npm start

Step 4: Using NLP-Samurai@0.0.10 Application Installed

To do use NLP-Samurai@0.0.10 web application, all you have to do is to open your local web-browser and type in the following address in the address bar at the top:

http://localhost:3000/

That's all folks, enjoy using the application!

Author

Author: Arthur V. Ratz @ CodeProject (CPOL License)

This article was originally posted at https://github.com/arthurratz/nlp-samurai-0.0.10

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) EpsilonDev
Ukraine Ukraine
I’m software developer, system analyst and network engineer, with over 20 years experience, graduated from L’viv State Polytechnic University and earned my computer science and information technology master’s degree in January 2004. My professional career began as a financial and accounting software developer in EpsilonDev company, located at L’viv, Ukraine. My favorite programming languages - C/C++, C#.NET, Java, ASP.NET, Node.js/JavaScript, PHP, Perl, Python, SQL, HTML5, etc. While developing applications, I basically use various of IDE’s and development tools, including Microsoft Visual Studio/Code, Eclipse IDE for Linux, IntelliJ/IDEA for writing code in Java. My professional interests basically include data processing and analysis algorithms, artificial intelligence and data mining, system analysis, modern high-performance computing (HPC), development of client-server web-applications using various of libraries, frameworks and tools. I’m also interested in cloud-computing, system security audit, IoT, networking architecture design, hardware engineering, technical writing, etc. Besides of software development, I also admire to write and compose technical articles, walkthroughs and reviews about the new IT- technological trends and industrial content. I published my first article at CodeProject in June 2015.

Comments and Discussions

 
-- There are no messages in this forum --