Clone this repo:

Branches

  1. 550522a Readme: fix missing " by Marc Kupietz · 7 months ago master
  2. 1cc2334 Readme: Add instructions to install dependencies by Marc Kupietz · 7 months ago
  3. a78bb61 Add link to live view to Readme by Marc Kupietz · 11 months ago
  4. 85a4c3d CI: Add deploy pipeline by Marc Kupietz · 11 months ago
  5. c554984 Merge branch 'rainer' into 'master' by Marc Kupietz · 11 months ago

Corpus Composition Analyzer (Prototype)

Prototype of a corpus composition analyzer for KorAP. See latest deployed version here on compute

Installation

docker build -f Dockerfile -t korap/corpuscomposition:snapshot .

Or get the docker image from GitLab:

curl -L 'https://gitlab.ids-mannheim.de/KorAP/CorpusCompositionAnalyzer/-/jobs/artifacts/master/raw/corpuscomposition-snapshot.xz?job=build-docker-image' | unxz | docker load

Run

docker run --rm -p 3838:3838 korap/corpuscomposition:snapshot

Then open http://localhost:3838/ for the default corpora or http://localhost:3838/?cq=<vc-definition-1>;<vc-definition-2>;<vc-definition-n> for comparing specific corpora.

Run and test without Docker

Requirements

R -e "install.packages(c('devtools', 'RKorAPClient', 'httr', 'shiny', 'shinythemes', 'highcharter'))"
R -e 'devtools::install_git("https://korap.ids-mannheim.de/gerrit/IDS-Mannheim/idsThemeR")'

Run shiny/app.R in RStudio or from the command line:

R -e "shiny::runApp('shiny/app.R')"