evaluate-news-nlp

所属分类:自然语言处理
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-08-19 06:09:17
上 传 者sh-1993
说明:  评估新闻nlp,,
(evaluate-news-nlp,,)

文件列表:
.babelrc (41, 2023-08-22)
REQUIREMENTS.md (685, 2023-08-22)
package-lock.json (795354, 2023-08-22)
package.json (1227, 2023-08-22)
src/ (0, 2023-08-22)
src/__test__/ (0, 2023-08-22)
src/__test__/formHandler.test.js (215, 2023-08-22)
src/__test__/urlChecker.test.js (388, 2023-08-22)
src/client/ (0, 2023-08-22)
src/client/index.js (268, 2023-08-22)
src/client/js/ (0, 2023-08-22)
src/client/js/checkURL.js (234, 2023-08-22)
src/client/js/formHandler.js (1215, 2023-08-22)
src/client/styles/ (0, 2023-08-22)
src/client/styles/base.scss (160, 2023-08-22)
src/client/styles/footer.scss (0, 2023-08-22)
src/client/styles/form.scss (177, 2023-08-22)
src/client/styles/header.scss (90, 2023-08-22)
src/client/styles/resets.scss (1158, 2023-08-22)
src/client/views/ (0, 2023-08-22)
src/client/views/index.html (1646, 2023-08-22)
src/server/ (0, 2023-08-22)
src/server/index.js (1515, 2023-08-22)
src/server/mockAPI.js (127, 2023-08-22)
webpack.dev.js (1133, 2023-08-22)
webpack.prod.js (1136, 2023-08-22)

# Evaluate News NLP ## Project Description This project required me to implement an NLP API into a web application, while also applying webpack and other build tools onto it. The API that was used for this app is the Open Sentiment Analysis (Meaning Cloud) API. ## Usage To use this app, you'll need to get an API from Meaning Cloud. Make sure you have node installed into your desktop, as you'll be using the **"npm"** command. So the first step is after you downloaded this file, you'll need to create an .env file, which should be in the same directory as the package.json. Then save your API_KEY into that file. ```` API_KEY=********** ```` Then you'll need to run the following command line on your terminal, so it has all the required packages. It should create a node_modules folder, so make sure you have that. ```` npm install ```` Afterwards in the terminal, run the command: ```` npm run build-prod ```` This command will create a dist folder that is in the same directory as your src folder, and the dist folder will have all your files in a webpack format. Another reason to run this command is because the server is pointed into that folder as well. To run the web application you can run the following command line in your terminal. ```` npm start ```` Then in your browser, go to **localhost:8081** where your web app is at. Your web application should look like this and when you enter a url into the textbox it should retrieve you the analysis. ## Starter Code I used a starter code provided by Udacity - Link to the starter code

近期下载者

相关文件


收藏者