Skip to content

🎓Stanford NLP in R

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

news-r/stanfordnlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1539a2a Â· Jul 22, 2019

History

4 Commits
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 19, 2019
Jul 22, 2019
Jul 22, 2019

Repository files navigation

Travis build status Lifecycle: experimental

stanfordnlp

Stanford NLP in R.

Installation

# install.packages("remotes")
remotes::install_github("news-r/stanfordnlp")

Example

Reproduction of quick example

library(stanfordnlp)

download_model(lang = "en")
pipeline <- create_pipeline()
doc <- pipeline("Barack Obama was born in Hawaii. He was elected president in 2008.")
doc$sentences[[1]]$print_dependencies()
#> ('Barack', '4', 'nsubj:pass')
#> ('Obama', '1', 'flat')
#> ('was', '4', 'aux:pass')
#> ('born', '0', 'root')
#> ('in', '6', 'case')
#> ('Hawaii', '4', 'obl')
#> ('.', '4', 'punct')

About

🎓Stanford NLP in R

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages