Methods

Our Code

Flowchart

xquery

Python using Spacy

Using the spacy's module in python we were able to define the CollPath and attach it to our source files, then we defined a variable called TargetPath, which outputs named entities from the books such as "Frodo" and "Osgiliath", into xml tags. After that, we had a slight issue with the named entities, so we corrected the NLP algorithm by creating a list called patterns . This then fixed our entities along with the definition functions to display the books data visualization.

Python-View

Link to the "code view"

code view

Credits

Noah: Worked on the Network and Analysis pages, as well as the general styling of the website. He also worked on the SVG graph and networks in cytoscape. Since there are so many nodes and edges, when he exported the file as a png, jpeg, or svg, the data was completely illegible, so he just decided to take a screenshot.

Min: She created and organized the Methods page and helped with Regex autotagging and Xquery.

Jimin: She was in charge and responsible for the website and administering the general look of it. She put most data on the homepage.

As a group including Dr. B: We all worked on organizing the Spacy package in python as well as adjusting a few things with Xquery.

Senior Project

Noah: After using spaCy as a python plugin with the original lord of the rings project, my next mission was to make the data on this website dynamic and easier to visualize for viewers. By changing the UI using vanilla JavaScript, I was able to draw strong depictions between each SVG graphic and what they represent. For example, with the map of Middle Earth on the Analysis page, I was able to tie together different named entities based on where they are located in the Lord of the Rings universe.

Overall, within this process, I created a functional svg graph on click, a functional Image-map locator onclick of each Spacy NER, and a quotes generator at the top of the website.

Of course, none of this would've been possible without some assistance in learning vanilla JS and React.js. My professor Dr. B, was a huge help on the programming side, especially when helping me tackle each JavaScript obstacle.