https://github.com/trinker/corenlpsetup
Easy coreNLP setup
https://github.com/trinker/corenlpsetup
corenlp r setup
Last synced: about 1 year ago
JSON representation
Easy coreNLP setup
- Host: GitHub
- URL: https://github.com/trinker/corenlpsetup
- Owner: trinker
- Created: 2017-04-12T02:41:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-07T14:09:55.000Z (over 4 years ago)
- Last Synced: 2025-02-14T13:15:19.952Z (over 1 year ago)
- Topics: corenlp, r, setup
- Language: R
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS
Awesome Lists containing this project
README
---
title: "coreNLPsetup"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
md_document:
toc: true
---
```{r, echo=FALSE}
desc <- suppressWarnings(readLines("DESCRIPTION"))
regex <- "(^Version:\\s+)(\\d+\\.\\d+\\.\\d+)"
loc <- grep(regex, desc)
ver <- gsub(regex, "\\2", desc[loc])
verbadge <- sprintf('
', ver, ver)
````
```{r, echo=FALSE, message=FALSE, warning=FALSE}
library(knitr)
knit_hooks$set(htmlcap = function(before, options, envir) {
if(!before) {
paste('
',options$htmlcap,"
",sep="")
}
})
knitr::opts_knit$set(self.contained = TRUE, cache = FALSE)
knitr::opts_chunk$set(fig.path = "tools/figure/")
```
[](https://travis-ci.org/trinker/coreNLPsetup)
[](https://coveralls.io/r/trinker/coreNLPsetup?branch=master)
`r verbadge`
**coreNLPsetup** is a set of tools to ensure proper setup of [Stanford's CoreNLP](https://stanfordnlp.github.io/CoreNLP/).
# Tools
| Function | Task | Description |
|---------------------------|------------|---------------------------------------|
| `check_setup` | checking | Check that Java and CoreNLP are setup |
| `check_java` | checking | Check that Java is setup |
| `check_stanford` | checking | Check that CoreNLP is setup |
| `coreNLP_version` | constant | The current version of corNLP |
| `jave_version` | constant | The current version of Java |
| `coreNLP_loc` | config | Configure a CoreNLP location path |
| `coreNLP_url` | config | Configure the CoreNLP url |
# Installation
To download the development version of **coreNLPsetup**:
Download the [zip ball](https://github.com/trinker/coreNLPsetup/zipball/master) or [tar ball](https://github.com/trinker/coreNLPsetup/tarball/master), decompress and run `R CMD INSTALL` on it, or use the **pacman** package to install the development version:
```r
if (!require("pacman")) install.packages("pacman")
pacman::p_load_current_gh("trinker/coreNLPsetup")
```
# Contact
You are welcome to:
- submit suggestions and bug-reports at:
- send a pull request on:
- compose a friendly e-mail to: