News-Article-NLP
所属分类:自然语言处理
开发工具:JavaScript
文件大小:731KB
下载次数:0
上传日期:2021-04-18 08:02:19
上 传 者:
sh-1993
说明: 新闻报道NLP,,
(News-Article-NLP,,)
文件列表:
.babelrc (43, 2021-04-18)
REQUIREMENTS.md (685, 2021-04-18)
package-lock.json (1185802, 2021-04-18)
package.json (1235, 2021-04-18)
src (0, 2021-04-18)
src\client (0, 2021-04-18)
src\client\index.js (361, 2021-04-18)
src\client\js (0, 2021-04-18)
src\client\js\formHandler.js (929, 2021-04-18)
src\client\js\formHandler.test.js (441, 2021-04-18)
src\client\js\nameChecker.js (773, 2021-04-18)
src\client\js\nameChecker.test.js (1083, 2021-04-18)
src\client\styles (0, 2021-04-18)
src\client\styles\base.scss (874, 2021-04-18)
src\client\styles\footer.scss (168, 2021-04-18)
src\client\styles\form.scss (561, 2021-04-18)
src\client\styles\header.scss (146, 2021-04-18)
src\client\styles\resets.scss (1158, 2021-04-18)
src\client\views (0, 2021-04-18)
src\client\views\R18807c1ea198f67a2cc944339ffb31d2.png (53788, 2021-04-18)
src\client\views\index.html (1860, 2021-04-18)
src\client\views\nlp.jpg (438369, 2021-04-18)
src\server (0, 2021-04-18)
src\server\index.js (1539, 2021-04-18)
src\server\mockAPI.js (127, 2021-04-18)
webpack.dev.js (1203, 2021-04-18)
webpack.prod.js (1262, 2021-04-18)
# Project Overview
Build a web tool that allows users to run **Natural Language Processing (NLP)** on articles or blogs found on other websites.
The goal of this project is to give you practice with:
- _Setting up Webpack_
- _Sass styles_
- _Webpack Loaders and Plugins_
- _Creating layouts and page design_
- _Service workers_
- _Using APIs and creating requests to external urls_
- _Installing Jest to test the functionality of the functions_
## Technologies Used
- **HTML**
- **CSS/SCSS**
- **JavaScript**
- **NodeJs**
- **Jest**
## Getting started
### Follow the steps and begin your project setup:
Remember that once you clone, you will still need to install everything:
`cd` into your new folder and run:
- `npm install`
### Setting up the API
You can find the API [here](https://www.meaningcloud.com/developer/sentiment-analysis). Once you create an account with MeaningCloud, you will be given a license key to start using the API. .
At the root of the project, create a new file named .env. Inside the file, add the following line, replacing the stars with your personal API key.
API_KEY=**************************
### Scripts
Use the following command to start the developer server. This should open a new window in your browser with the app running on localhost:8080
```
`npm run build-dev-area`
```
To run the production server (with express), run these commands. The production server runs on localhost:8081
```
`npm run build-prod-site`
`npm start`
```
To run the functionality test of the functions in Js folder.
```
`npm run test-jest`
```
### Deploying
A great step to take with your finished project would be to deploy it! Unfortunately its a bit out of scope for me to explain too much about how to do that here, but checkout [Netlify](https://www.netlify.com/) or [Heroku](https://www.heroku.com/) for some really intuitive free hosting options.
### Credits
This Project was done by @ChristineHHanna.
近期下载者:
相关文件:
收藏者: