8000 GitHub - TheodorEmanuelsson/PhraseNet: This is a phrase net implemented as a Shiny application. A phrase net is a visualization tool that represents a text input as a graph.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

This is a phrase net implemented as a Shiny application. A phrase net is a visualization tool that represents a text input as a graph.

License

Notifications You must be signed in to change notification settings

TheodorEmanuelsson/PhraseNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhraseNet

This is a phrase net implemented as a Shiny application. A phrase net is a visualization tool that represents a text input as a graph. The size of the text represents word frequency, connections between words are displayed as arrows where their directionality and width communicate the flow and strength of connected words. The user can select a custom connection word to be used between the words. The graph is created using the visNetwork infrastructure and reactive values in Shiny. The shiny application has interactive features such as highlight, select, zoom, integrated physics and movement of nodes. On click will highlight the connected nodes.

For example see accompanying Dracula.txt file initially downloaded via Project Gutenberg: https://www.gutenberg.org/ebooks/345

See an example below using the Dracula.txt and connector with "love". The graph displays the 51 most frequently connected words.

This is an image

Run the app

Run the following command:

shiny::runGitHub("PhraseNet", "TheodorEmanuelsson")

or clone the repository.

Dependencies

The application depends on R packages shiny, shinydashboard, tidyr, tibble, tidytext, visNetwork.

About

This is a phrase net implemented as a Shiny application. A phrase net is a visualization tool that represents a text input as a graph.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0