Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple app of getting the sentiment of the entered text using the NLP node js library

License

NotificationsYou must be signed in to change notification settings

shreeraj04/textsentimentAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting the sentiment of the entered text using the NLP node js library. For this we are using NodeJS Express

Steps:(which might be different from how you create)

1 npm i -g express-generator

2 express nlp -v hbs

3 cd nlp

4 npm i

5 npm start

6 code routes

Hurray! Express is now on..

Now install the nlp via-> npm install node-nlp

Once installation is done, check the index.hbs file which has a textarea to enter the text and click on analyze button. This will request server via api to analyse the sentiment of the entered text and responds with the json data as shown below:

comparative: 0 language: "en" numHits: 0 numWords: 1 score: 0 type: "senticon"proto: Object

About

A simple app of getting the sentiment of the entered text using the NLP node js library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp