R Shiny source code for the Semantic Librarian: A Search Engine Built from Vector-Space Models of Semantics
This repository contains the source code for the Semantic Librarian Shiny App, which should allow the app to be run locally. An online version of this app is available at http://crumplab.shinyapps.io/SemanticLibrarian/
Blogging about examining the APA database with our semantic vector approach here: https://crumplab.github.io/SemanticLibrarian/
- Install R and R-studio
- Download the SemanticLibrarian folder to your desktop
- Important: if you download this repo from the website, it will not automatically download the
allData.RData
(approximately 750MB) in theallData
folder. This large file is hosted on git lfs (large file-storage). You can separately download this file here https://github.com/CrumpLab/SemanticLibrarian/blob/master/allData/allData.RData, by clicking the download button. After this file is downloaded, replace the oldallData.RData
file in the allData folder with the new one.
- Install the Shiny package
- Package dependencies. All of the R packages used for this Shiny app are in the Packrat folder. You may be able to run this app without first installing those packages. If not, use the list in the packrat folder to install all of the necessary packages.
- Open the .Rproj file to load this R project into R-studio.
- The Shiny app files are contained in global.R, server.R, and ui.R. Opening any of those files in R studio should allow you to view the
run app
button in the text editor. Press therun app
button to run the app.
Please use the issues tab to discuss feature requests, bugs, etc.