https://github.com/matthewbub/pos-visualizer
Parts of Speech (PoS) Visualization Tool
https://github.com/matthewbub/pos-visualizer
compromise nextjs13 reactjs
Last synced: 3 months ago
JSON representation
Parts of Speech (PoS) Visualization Tool
- Host: GitHub
- URL: https://github.com/matthewbub/pos-visualizer
- Owner: matthewbub
- Created: 2023-10-15T14:02:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T14:39:12.000Z (over 2 years ago)
- Last Synced: 2025-10-11T11:19:52.130Z (9 months ago)
- Topics: compromise, nextjs13, reactjs
- Language: JavaScript
- Homepage: https://pos-visualizer.vercel.app
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoS-Viz (Parts of Speech Visualizer)
The goal is to create a text editor that visually represents words' grammatical roles (parts of speech) using color coding.
The user enters text into a text area, and each word in the text area is wrapped in a span tag; then, the part of speech for each word is identified using NLP, and the span tag is given a class name based on the part of speech. The class name is then used to color the word.
This project uses JavaScript and is a practical introduction to NLP with [Compromise](https://compromise.cool/) and cutting-edge concepts introduced in early Next.js v13 and React.js v18 versions.
## Set up
This project was bootstrapped using the `npx create-next-app@latest` CLI command. To pull this up on a local machine, clone the repo and run `npm install` to install the project dependencies. Then, run `npm run dev` to start the development server.