Skip to content

AlexKinley/a2-shortstack

 
 

Repository files navigation

Text Info

Alex Kinley https://a2-alexkinley.glitch.me

This project does some basic text analysis and provides an interesting visualization of some of that information. Mainly, it shows all of the occurances of a word in a document, and gives tells you that words frequency in the document.

The page is styled using flexboxes.

The page countains all of the instructions neccessary.

Technical Achievements

  • Tech Achievement 1: Data deletion and modification

By submitting a document with the same title as an existing document, its text will be modified.

Every document has a button to delete it.

  • Tech Achievement 2: Always show up to date data

When the user adds, modifies, or deletes a document, the data on the page will be updated to reflect these changes.

  • Tech Achievement 3: Word highlighting

The derived field of the data is a basic word -> position index. The frontend goes through the text using these indexes to surround every word with a span. When you mouse over one of these spans, it highlights as well as highlights all the other spans in the document for that same word. It also updates the word frequency area with the data for that word.

About

Assignment 2 for CS4241

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.0%
  • HTML 11.7%
  • CSS 7.3%